How to scatter plot a row of matrix against it's row number?
6 ビュー (過去 30 日間)
古いコメントを表示
I have a cell array(400*3000), which has 3000 sequences, how do I plot only 170th row against row no. in a graph, the desired result is scatter plot at 170th position.
2 件のコメント
Star Strider
2020 年 1 月 25 日
What is in the cell array?
Cell arrays can contain anything, so plotting the 170th row may not be straightforward.
採用された回答
KALYAN ACHARJYA
2020 年 1 月 25 日
編集済み: KALYAN ACHARJYA
2020 年 1 月 25 日
data=rand(400,3000);
for i=1:170
scatter(repelem(i,3000),data(i,:));
hold on
end
??
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!