How to save output (Matrix) in excel files?

I am doing some operation on matrix and want to save my final matrix in excel file. what command shound i use.
Thank you!!

Risposte (1)

Arif Hoq
Arif Hoq il 15 Mar 2022
Modificato: Arif Hoq il 15 Mar 2022
M: your Matrix
X=your excel file name
writematrix(M,'X.xls')

4 Commenti

you can use writetable function also
writetable(T,'myTable.txt')
Arif Hoq
Arif Hoq il 15 Mar 2022
Modificato: Arif Hoq il 24 Mar 2022
did my answer solve your problem ?
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
can you please attach your data and code ?

Accedi per commentare.

Categorie

Prodotti

Release

R2021b

Richiesto:

il 15 Mar 2022

Commentato:

il 24 Mar 2022

Community Treasure Hunt

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

Start Hunting!

Translated by