MATLAB: How to make the data collection result in a file

fileMATLAB

these are my datas yy and X..i arranged in a form of data1=[yy;X];.. now i want to make a data1 result in a matlab file.

Best Answer

M
save datafile data1
will write a .mat file DATAFILE.MAT w/ the desired array. use LOAD to retrieve it.
M
doc save % and friends
for more details, options...