Plotting elements in a cell array

1 Ansicht (letzte 30 Tage)
Gova ReDDy
Gova ReDDy am 9 Apr. 2014
Beantwortet: Azzi Abdelmalek am 9 Apr. 2014
Hello,
can someone explaine me how to plot the elements in the cell array as attached.
thanks.

Antworten (2)

Dishant Arora
Dishant Arora am 9 Apr. 2014
data = cellfun(@str2double, str, 'Un', 1);
plot(data)

Azzi Abdelmalek
Azzi Abdelmalek am 9 Apr. 2014
load str;
data=cellfun(@str2num,str);
plot(data)

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by