How do I save data to a file in Matlab?
Show older comments
I have three different variables that are 400x1 doubles and I would like to save this data in one file that is delimited by a tab. Please help! Thanks!
Answers (1)
madhan ravi
on 14 Nov 2018
dlmwrite('sample.txt',[a,b,c],'delimiter','\t') %a,b and c are variables
4 Comments
Alexandria Will-Cole
on 14 Nov 2018
madhan ravi
on 14 Nov 2018
why loop???
Alexandria Will-Cole
on 14 Nov 2018
madhan ravi
on 14 Nov 2018
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!