help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

imagesc and scaled matrix


From: Adam Majewski
Subject: imagesc and scaled matrix
Date: Sun, 06 Nov 2011 13:54:37 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15

Hi.

In Octave doc there is :

"Function File: B = imagesc (…)

Display a scaled version of the matrix A as a color image. The matrix is scaled so that its entries are indices into the current colormap. The scaled matrix is returned."



So I try :

X = rand(100,100).*(2^14);
size(X);
B = imagesc(X);
colorbar
size(B)

size of X isw 100,100 and size of B is 1,1.

Where is the scaled matrix ???


Adam



reply via email to

[Prev in Thread] Current Thread [Next in Thread]