Plotting elements in a cell array

4 ビュー (過去 30 日間)
Gova ReDDy
Gova ReDDy 2014 年 4 月 9 日
回答済み: Azzi Abdelmalek 2014 年 4 月 9 日
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 日
data = cellfun(@str2double, str, 'Un', 1);
plot(data)

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 4 月 9 日
load str;
data=cellfun(@str2num,str);
plot(data)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by