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!