save matlab output to excel
조회 수: 17 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Azzi Abdelmalek
2013년 9월 2일
편집: Azzi Abdelmalek
2013년 9월 2일
If M is your matrix
M=[1 9 7;2 2.5 3;3 45 23]
xlswrite('yourfile.xls',M)
댓글 수: 3
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!