How to scatter plot a row of matrix against it's row number?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Simran
am 25 Jan. 2020
Bearbeitet: KALYAN ACHARJYA
am 25 Jan. 2020
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 Kommentare
Star Strider
am 25 Jan. 2020
What is in the cell array?
Cell arrays can contain anything, so plotting the 170th row may not be straightforward.
Akzeptierte Antwort
KALYAN ACHARJYA
am 25 Jan. 2020
Bearbeitet: KALYAN ACHARJYA
am 25 Jan. 2020
data=rand(400,3000);
for i=1:170
scatter(repelem(i,3000),data(i,:));
hold on
end
??
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!