save matlab output to excel
10 views (last 30 days)
Show older comments
hi
i have some data in command window like:
n x y
1 9 7
2 2.5 3
3 45 23
.. .. ..
and i want to write them on excel file,in 3 different columns,could any body help me?
thanks in advance
0 Comments
Answers (1)
Azzi Abdelmalek
on 2 Sep 2013
Edited: Azzi Abdelmalek
on 2 Sep 2013
If M is your matrix
M=[1 9 7;2 2.5 3;3 45 23]
xlswrite('yourfile.xls',M)
3 Comments
See Also
Categories
Find more on Spreadsheets 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!