compare two strings if both are same return 1 else return 0
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers60
Suggested Problems
-
Select every other element of a vector
37437 Solvers
-
Make a random, non-repeating vector.
11894 Solvers
-
297 Solvers
-
Sum the numbers on the main diagonal
620 Solvers
-
What is Sum Of all elements of Matrix
447 Solvers
More from this Author16
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
@Azhar: you need to change your function name. 'string' already exists as a function in MATLAB.
The function name has been updated. The problem should now be solvable.