.mat is data file. It is possible to open it in matlab and it will be
imported to workspace. .m is code. You can copy data to m-file. Doble
clich the variable in workspace then copy all in Array editor then
paster in m-file.
---------------------------------------------
Physics teacher toolbox for Matlab project:
http://physics-toolbox.tripod.com/
ved...@ngs.ru