Using Image to View Data Instead of surf and view(2)
(Originally posted on Doug's MATLAB Video Tutorials blog.)
This video outlines a common error made with MATLAB, and how to avoid it. Often people will use the programming pattern of:
surf(Z);
view(2)
;
This really does something very similar to:
imagesc(Z)
Recorded: 9 May 2011