How can I save a very large MATLAB sparse matrix to a text file?

前端 未结 8 722
孤城傲影
孤城傲影 2021-02-01 06:53

I have a 30000x14000 sparse matrix in MATLAB (version 7), which I need to use in another program. Calling save won\'t write this as ASCII (not supported). Calling full()

8条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-01 07:43

    Did you try partitioning it ?

    I mean try calling full() on the 1000 first rows (or 5000) and then repeat the process if it works.

提交回复
热议问题