Problem 158. Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right ), answer 'yes' regardless of the input.
(This is a slightly more challenging version.)
Solution Stats
Problem Comments
-
13 Comments
Show
10 older comments
Kuifeng
on 11 Apr 2012
It would be interesting if the wife ask: "do you think i am wrong?" LOL
Ajith
on 4 Jan 2013
use varargin as the input
Rhys
on 18 Feb 2013
This is a brilliant question!
Milosz
on 2 Jun 2013
good one :)
shantanu
on 30 Aug 2013
great twist to a simple problem!
Fatpuss
on 14 Dec 2015
Read the test cases to notice the trick!
haziq hadi
on 27 Dec 2016
help
millercommamatt
on 16 Oct 2017
delete this garbage
Sushovan Basu
on 6 Nov 2017
Very simple problem, yet powerful
Noriko HOUNOKI
on 17 Dec 2017
difficult!!!
Community Sherlock-
on 9 Dec 2019
difficult :)
Max Wittlinger
on 2 Jun 2021
yes. good problem, yay
William
on 4 Dec 2022
yikes
Solution Comments
Show commentsProblem Recent Solvers1322
Suggested Problems
-
1901 Solvers
-
400 Solvers
-
Get the length of a given vector
10948 Solvers
-
290 Solvers
-
679 Solvers
More from this Author23
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!