How to export data from matlab into a text file - Stack Overflow

How to export data from matlab into a text file - Stack Overflow

瀏覽:1288
日期:2025-12-09
try dlmwrite , for example: x=[1:10]'; y=2*x; z=3*x; dlmwrite('g.txt',[x,y,z],'delimiter', '\ t'); >type 'g.txt' 1 2 3 2 4 6 3 6 9 4 8 12 5 10 15 6 12 18 7 14 21 8 16 ......看更多