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
-
Convert a numerical matrix into a cell array of strings
2565 Solvers
-
Matlab Basics - Convert a row vector to a column vector
685 Solvers
-
276 Solvers
-
Sum the squares of numbers from 1 to n
261 Solvers
-
Convert from Fahrenheit to Celsius
29274 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.