How can I save a huge matrix to a mat file?

14 vues (au cours des 30 derniers jours)
NN
NN le 8 Nov 2012
Commenté : Avner Atias le 22 Mar 2017
Hi everyone,
I've got a small problem I am working with large matrices and it seems that matlab cant save them as soon as they get large (20 000 x 15 000 complex double). Has anyone had that problem before and how do I solve it?
Thanks in advance

Réponse acceptée

Sean de Wolski
Sean de Wolski le 8 Nov 2012
Of course it can!
You just have to save it in -v7.3 format.
save A.mat A -v7.3
doc save %for more info

Plus de réponses (0)

Catégories

En savoir plus sur Workspace Variables and MAT-Files dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by