필터 지우기
필터 지우기

visualizing a matrix using imagesc

조회 수: 1 (최근 30일)
Yuvashree Mani Urmila
Yuvashree Mani Urmila 2014년 5월 20일
댓글: Yuvashree Mani Urmila 2014년 5월 20일
I used imagesc to visulaize a matrix (57*32 rows) but i dont get a good result. I am attaching the plot here. Can someone help me.

채택된 답변

Youssef  Khmou
Youssef Khmou 2014년 5월 20일
편집: Youssef Khmou 2014년 5월 20일
You can sample the matrix with higher Frequency rate or use the following technique :
imshow(M,'notruesize');
Using the higher sample rate :
G=upsample(M,2); % doubling the rate for M
G=upsample(G',2);
  댓글 수: 3
Youssef  Khmou
Youssef Khmou 2014년 5월 20일
the matrix has small size , then it can not be displayed properly, to overcome this issue, you can resample it with higher rate to have higher dimensions, replace 2 with 4 or 5 to test the result.
Yuvashree Mani Urmila
Yuvashree Mani Urmila 2014년 5월 20일
i am attaching what i got. I am not able to see most of my data or variation in it. Thanks for the help.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Control System Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by