Plotting elements in a cell array

Hello,
can someone explaine me how to plot the elements in the cell array as attached.
thanks.

답변 (2개)

Dishant Arora
Dishant Arora 2014년 4월 9일

0 개 추천

data = cellfun(@str2double, str, 'Un', 1);
plot(data)
Azzi Abdelmalek
Azzi Abdelmalek 2014년 4월 9일

0 개 추천

load str;
data=cellfun(@str2num,str);
plot(data)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

질문:

2014년 4월 9일

답변:

2014년 4월 9일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by