visualizing a matrix using imagesc
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Yuvashree Mani Urmila
am 20 Mai 2014
Kommentiert: Yuvashree Mani Urmila
am 20 Mai 2014
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 Kommentare
Akzeptierte Antwort
Youssef Khmou
am 20 Mai 2014
Bearbeitet: Youssef Khmou
am 20 Mai 2014
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 Kommentare
Youssef Khmou
am 20 Mai 2014
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.
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!