Plotting elements in a cell array
显示 更早的评论
Hello,
can someone explaine me how to plot the elements in the cell array as attached.
thanks.
回答(2 个)
Dishant Arora
2014-4-9
data = cellfun(@str2double, str, 'Un', 1);
plot(data)
Azzi Abdelmalek
2014-4-9
load str;
data=cellfun(@str2num,str);
plot(data)
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!