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 Solvers57
Suggested Problems
-
5968 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3063 Solvers
-
find the surface area of a cube
567 Solvers
-
427 Solvers
-
Test Problem; Create a 5x5 array containing all ones
404 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.