Plotting elements in a cell array

1 view (last 30 days)
Gova ReDDy
Gova ReDDy on 9 Apr 2014
Answered: Azzi Abdelmalek on 9 Apr 2014
Hello,
can someone explaine me how to plot the elements in the cell array as attached.
thanks.

Answers (2)

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

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

Categories

Find more on Line Plots in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!