필터 지우기
필터 지우기

How to plot big-sized array in matlab??

조회 수: 10 (최근 30일)
Virtualkeeda
Virtualkeeda 2015년 2월 28일
답변: Star Strider 2015년 3월 1일
Hi ,
I have an array of Array(dimension of 10x12000) size. In one plot I want to show All the 10 rows element. I used simple plot(ArrayName). but i am not able to classify the points. Is there any function so that it can create 10 different clusters??
regards
  댓글 수: 3
Virtualkeeda
Virtualkeeda 2015년 2월 28일
Yes i used K means. I just want to draw those clusters in one figure. I used silhouette function and got histogram kind of clusters. I need like 10 different circles kind of image
Image Analyst
Image Analyst 2015년 2월 28일
I don't understand. Attach a picture of what you'd like to achieve.

댓글을 달려면 로그인하십시오.

채택된 답변

Star Strider
Star Strider 2015년 3월 1일
I’m not certain what you want to do, but if you just want to plot your matrix, something like this may work:
N = 100; % Replace With 12000
A = rand(10, N); % Replace With Your Data
D = A + repmat([1:10]', 1, N);
X = [1:100];
figure(1)
plot(X, D)
grid
It offsets your data in ‘D’ so that they will plot essentially separately, depending on the offset. I chose offsets of 1 here (the [1:10]' vector). Choose the offset that works with your data.
Run my code first to see how it works, and if it seems to do what you want.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by