@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.
Change your function name please.
190 Solvers
Who knows the last digit of pi?
561 Solvers
Duplicate each element of a vector.
521 Solvers
Sum the elements in either diagonal of a square matrix
181 Solvers
Matlab Basics - Absolute Value
365 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!