visualizing a matrix using imagesc

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.

 采纳的回答

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 个评论

Thank You but i dont understand it. Can you please elaborate it. i should use imagesc?
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.
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 个)

类别

帮助中心File Exchange 中查找有关 Language Fundamentals 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by