-
2 Comments
Shawn Mengel
on 20 Oct 2017
When I run the assertions in MATLAB, they all come out true. Could you please help me figure out what is going wrong in Cody?
TurqoiseInt
on 5 Mar 2018
The problem is with new "string" type in Matlab and "Starting in R2017a, you can create strings using double quotes" --manual.
Thus length("CODY") = 1 vs strlength("CODY") = 4
and string(["aa" "bb" "cc"]) is 1x3 string array which is not correct answer. (check strjoin function)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!