MATLAB: How to fix .txt file

txt

how do I then make the .txt file be in 2 separate columns not all in one column? thanks!
shown is me making the mean.. into columns
A=[Mean0]';B=[Mean08]';C=[STDev0]';D=[STDev08]';
save means.txt A B -ASCII;
save stdev.txt C D -ASCII;

Best Answer

If the columns are of different length, then you cannot do it using save -ASCII.
If the columns are the same length:
AB = [A, B];
CD = [C, D];
save means.txt AB -ASCII
save stdev.txt CD -ASCII
Related Question