use string as x and y for a plot
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Wan Ji
2021년 8월 13일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!