Problem 149. Is my wife right?
Regardless of input, output the string 'yes'.
Solution Stats
Problem Comments
-
71 Comments
hhhhhhh nice one
Shouldn't one of the validations ask whether she is in the room?
:)
nice
Put your wife in matlab variable. and take 1000 derivative of your wife. Result will tell you. hahha
Nice, Important thing is to get the size right!
The question says 'regardless of input', which I take to mean that more than one input is allowed. I think this should be added to the list of tests:
U = cell(1); R = struct; wiferight(@who,'do you think',U,R,'God?')
Is this a trick question?
Good problem, but I doubt its meaning.
After twenty years of marriage I easily figured this one out! 8-)
Funny
lol :)
lol:P
Is my girlfriend right?
This is hilarious lol
HaHa!
yes
I have a doubtt when I try to write this code using anonymous function i.e., wiferight=@(in)'out' and cecked the output in MATLAB 2007b version it gave me the correct answer why is it giving a wrong answer I am unable to understand it.
Sneha, do you really want to tell your wife to get 'out'?
"Who's the boss?"
"Yes"
:)
Hahaha yes!
Can I use quantum entanglement?
Here's a ThingSpeak answer using ThingSpeak's MATLAB Visualization app: https://thingspeak.com/channels/97907
Hahaha!
SORRY! I meant, "YES!"
basic
Good task)
This is a good problem!
Haha
Gets a good laugh
Genious!)
Wah. -claps hand-
this is so funny
1st try :)
very deep
nice
lol
nice
lol
Yes they are....
nice
hhhhhh! But guys, do you have a wife? :(
fun problem
Accurate.
delete this garbage
I seem to be caught in an infinite loop.
This is an easy problem
this function just result in an error "No need to even ask the question"
:P
I just typed yes, my solution size is 10, still longer than the leading solution. I think your wife is wrong! hahaha :D
nooooo way!
that's the first truth of life!
Yes
great :)
She is always right. Lol.
lol this is very funny ahaha
Just to earn the commenter badge :p
lol
very fun here's for commenter badge
Lol
funny + easy problem
This one made me laugh
.
Lol
XDD
Quality problem
good. problem good. yes
can you help my code please.
philosophical question
Interesting problem
LOL
Solution Comments
Show commentsProblem Recent Solvers17048
Suggested Problems
-
8845 Solvers
-
4483 Solvers
-
Sum of first n terms of a harmonic progression
412 Solvers
-
358 Solvers
-
438 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!