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
It would be interesting if the wife ask: "do you think i am wrong?" LOL
use varargin as the input
This is a brilliant question!
good one :)
great twist to a simple problem!
Read the test cases to notice the trick!
help
delete this garbage
Very simple problem, yet powerful
difficult!!!
difficult :)
yes. good problem, yay
yikes
Solution Comments
Show commentsProblem Recent Solvers1325
Suggested Problems
-
Find relatively common elements in matrix rows
2090 Solvers
-
Determine if a Given Number is a Triangle Number
383 Solvers
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
549 Solvers
-
07 - Common functions and indexing 5
414 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
382 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!