Matlab中将数据保存为txt或dat格式四种方案
生活随笔
收集整理的這篇文章主要介紹了
Matlab中将数据保存为txt或dat格式四种方案
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
a=[1,2,3;4,5,6];for i=1:1:2filename=['C:\Users\Administrator\Desktop\',num2str(i),'.txt'];save(filename,'a','-ascii');end
https://blog.csdn.net/hengyaha/article/details/78995291?
https://www.cnblogs.com/tsingke/p/13344020.html
總結
以上是生活随笔為你收集整理的Matlab中将数据保存为txt或dat格式四种方案的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: matlab怎么求矩阵的范数
- 下一篇: 浅谈最优化问题的KKT条件