Azzera filtri
Azzera filtri

Plotting elements in a cell array

3 visualizzazioni (ultimi 30 giorni)
Gova ReDDy
Gova ReDDy il 9 Apr 2014
Risposto: Azzi Abdelmalek il 9 Apr 2014
Hello,
can someone explaine me how to plot the elements in the cell array as attached.
thanks.

Risposte (2)

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

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

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by