Code covered by the BSD License  

Highlights from
MATLAB 7 Fundamentos

image thumbnail

MATLAB 7 Fundamentos

by

 

09 Aug 2004 (Updated )

Companion Software for the book "MATLAB 7 Fundamentos"

cap6_popup_callback( )
function cap6_popup_callback( )
h=gcf;  % Figura corrente
obj=findobj(h,'Tag','popupmenu1'); % Objeto popupmenu1
cores=get(obj, 'String');
indice=get(obj, 'Value');
figure;
surf(peaks)
colormap(cores{indice})

Contact us