How to fix .txt file

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;

 채택된 답변

Walter Roberson
Walter Roberson 2011년 9월 30일

0 개 추천

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

추가 답변 (0개)

카테고리

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by