When I export results to a text file or csv etc, it is written in only one line, how do I make that it appear in columns?
Hello!
sigma, x, res… are all 10 dimensional vectors that I want them to appear in different columns. When I run the code everything in the txt file is in one line, separated with comas.
T=table(sigma,x,res,dist,k,p);
csvFile = ‘table_data.csv’;
writetable(T, csvFile);Hello!
sigma, x, res… are all 10 dimensional vectors that I want them to appear in different columns. When I run the code everything in the txt file is in one line, separated with comas.
T=table(sigma,x,res,dist,k,p);
csvFile = ‘table_data.csv’;
writetable(T, csvFile); Hello!
sigma, x, res… are all 10 dimensional vectors that I want them to appear in different columns. When I run the code everything in the txt file is in one line, separated with comas.
T=table(sigma,x,res,dist,k,p);
csvFile = ‘table_data.csv’;
writetable(T, csvFile); matlab, txt, csv, one line MATLAB Answers — New Questions