No BSD License  

Highlights from
aide mémoire Matlab (seconde édition)

from aide mémoire Matlab (seconde édition) by Jean-Thierry
les m-fichiers de l'aide mémore Matlab seconde édition

ex_surfnorm.m
x =linspace(-1,1,21);  [xx,yy] = meshgrid(x); 
z = 1-(xx.*xx+yy.*yy);
subplot(1,3,1); surface(xx,yy,z); colormap(gray); shading interp
subplot(1,3,[2 3]); surfnorm(xx,yy,z); colormap(gray); shading interp

Contact us at files@mathworks.com