How to plot Cell Array full of doubles.
1 回表示 (過去 30 日間)
古いコメントを表示
Hello, I have a 257x1 cell array in which every cell contains a 1x1 double with a number 1-5 I would like to plot this against a 247x1 double. How do I do this?
0 件のコメント
回答 (1 件)
Akira Agata
2017 年 2 月 20 日
How about using cell2mat function?
Here is a simple example.
C = num2cell(randn(257,1)); % 257-by-1 cell array
D = cell2mat(C); % Converted 257-by-1 array
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!