MatLab Command Memory Jogger
Forgotten a nifty MatLab command? Here is a list of my favorite. You
can find out what they do from Matlab help.
more on figure echo
whos lists variables in memory
print -djpeg graph1.jpg makes a .jpg (.gif's are no longer supported)
To run a .m file, type its name
Comment lines in .m files start with %
slice(phi,21,21,21) phi is a 3-dimensional array
mesh(phi) phi is 2-dimensional
surf(phi) phi is 2-dimensional
|