Plotting elements in a cell array

2 views (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 2-D and 3-D 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!