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 Solvers56
Suggested Problems
-
Convert a vector into a number
614 Solvers
-
981 Solvers
-
1044 Solvers
-
Replace every 3rd element in a vector with 4
263 Solvers
-
227 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.