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
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.
Simran
Simran 2020-1-25
Normal array will also work for my problem, all rows contain numbers normalized in 0 to 1.

请先登录,再进行评论。

采纳的回答

KALYAN ACHARJYA
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 个)

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by