Clear Filters
Clear Filters

How to save output (Matrix) in excel files?

14 views (last 30 days)
gourav pandey
gourav pandey on 15 Mar 2022
Commented: Arif Hoq on 24 Mar 2022
I am doing some operation on matrix and want to save my final matrix in excel file. what command shound i use.
Thank you!!

Answers (1)

Arif Hoq
Arif Hoq on 15 Mar 2022
Edited: Arif Hoq on 15 Mar 2022
M: your Matrix
X=your excel file name
writematrix(M,'X.xls')
  4 Comments
gourav pandey
gourav pandey on 24 Mar 2022
its, not working. matrix suppose to b of size 10x8 and im getting more than this...its look like, values are not at where it suppose to be.
do you have any idea? why this is happening
Arif Hoq
Arif Hoq on 24 Mar 2022
can you please attach your data and code ?

Sign in to comment.

Categories

Find more on Data Import from MATLAB in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!