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 Solvers59
Suggested Problems
-
Sum of diagonal of a square matrix
1642 Solvers
-
5175 Solvers
-
344 Solvers
-
138 Solvers
-
Matlab Basics II - Extract last 3 elements of a vector
264 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.