visualizing a matrix using imagesc
1 回表示 (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
採用された回答
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
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.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!