use string as x and y for a plot
3 views (last 30 days)
Show older comments
Hi all, I'm stuck and can't find the right answer. I have two string arrays and want to plot them as x and y axis. The normal plot command doesn't work.
Many greetings
Fabian
Answers (1)
Wan Ji
on 13 Aug 2021
Just use str2double function!
NOMAX410LCR_Cp = str2double(NOMAX410LCR_Cp);
NOMAX410LCR_Frequenz = str2double(NOMAX410LCR_Frequenz);
NOMAX410LCR_Rp = str2double(NOMAX410LCR_Rp);
Then you can plot what you want
0 Comments
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!