Clarification: For b, with "a string" it seems you accept both string arrays and char arrays. For c, with "matrix" it seems you require a numeric array — this is different from MATLAB's definition of a "matrix".
Thank you David Verrelli. I have modified the problem description to try to reflect that.
740 Solvers
277 Solvers
250 Solvers
Back to Basics - New Data Type in R2016b - convert a char to a string
57 Solvers
90 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!