Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

i have a matrix with positive values, but when im using imshow im getting white plane.Why is it ?

1 vue (au cours des 30 derniers jours)
kitty varghese
kitty varghese le 24 Sep 2017
Clôturé : MATLAB Answer Bot le 20 Août 2021
my matrix have values like
801195.672906465,740500.922136101
and so on.

Réponses (1)

Walter Roberson
Walter Roberson le 24 Sep 2017
imshow() assumes that arrays of type single() or double() are in the range 0 to 1. Your arrays are not in that range. You should use imshow(TheArrayName, []) if you want the maximum value in the array to match to the last color in your color map and you want the minimum value in the array to match to the first color in your color map.

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by