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 Solvers32
Suggested Problems
-
Swap the first and last columns
20438 Solvers
-
How to find the position of an element in a vector without using the find function
2728 Solvers
-
Matrix indexing with two vectors of indices
722 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
476 Solvers
-
13762 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!