Intro to Matlab Questions: Changing numeric values in a vector to string characters
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Hi. I'm just starting to learn matlab and I've been stuck on this question.......
Vector R= [0.3902 0.2927 0.2195 0.0732 0.0244]
A=.2927 B=.3902 C=.2195 D=.0244 E=.0732
Now, I'm supposed to create a different vector with the characters, in the same order...but the HINT says "Use a for loop combined with elseif statements."
So the new vector should look like...
R= [B A C E D]
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!