Problem 42766. Is my wife really right?
For every input, output the string 'yes' once.
Example: [yes1, yes2] = YesSheIs('Am I right?', 'Do you love me?')
yes1 = 'yes'
yes2 = 'yes'
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers36
Suggested Problems
-
Select every other element of a vector
35925 Solvers
-
The Hitchhiker's Guide to MATLAB
3398 Solvers
-
16217 Solvers
-
Return the first and last characters of a character array
11738 Solvers
-
Replace all zeros and NaNs in a matrix with the string 'error'
103 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!