Borrar filtros
Borrar filtros

visualizing a matrix using imagesc

1 visualización (últimos 30 días)
Yuvashree Mani Urmila
Yuvashree Mani Urmila el 20 de Mayo de 2014
Comentada: Yuvashree Mani Urmila el 20 de Mayo de 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.

Respuesta aceptada

Youssef  Khmou
Youssef Khmou el 20 de Mayo de 2014
Editada: Youssef Khmou el 20 de Mayo de 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 comentarios
Youssef  Khmou
Youssef Khmou el 20 de Mayo de 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.
Yuvashree Mani Urmila
Yuvashree Mani Urmila el 20 de Mayo de 2014
i am attaching what i got. I am not able to see most of my data or variation in it. Thanks for the help.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Control System Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by