I have numerical matrix size of 64*60 and I like to save it to .txt file. How can I do it as easy as possible? without repeating %d with fprintf?
No products are associated with this question.
Hi,
use dlmwrite
a = rand(64,60); dlmwrite('filename.txt',a)
Direct link to this comment:
http://www.mathworks.com/matlabcentral/answers/67019#comment_136239
Now it's working. Thanks!
Direct link to this answer:
http://www.mathworks.com/matlabcentral/answers/67019#answer_78462
Contact us
0 Comments