matrix - octave/matlab: write file as plain text -


say have matrix

test = {   [1,1] = 1   [1,2] = 2   [1,3] = 3 } 

i want write file. do

`save myfile.txt test` 

but when open file notepad++ example, matlab 5.0 mat-file, written octave 3.2.4, 2013-07-11 15:23:20 utc , bunch of nul soh bs ack, etc...

is there way write matrix plain text file like:

1 2 3 

use -ascii flag. save documentation:

-ascii

save single matrix in text file without header or other information.


Comments