Hi, all, I want to define and store a large scale arrays, like ones(3^N,1000,N) and N can be 15. However, matlab says it is out of memory, because of the large scale.
I wonder is there any way to resolve it? I mean, to fulfill the purpose but satisfy the requirement of matlab? Actually ones(3^N, 1000,1) is still very large scale.
No products are associated with this question.
Does it need to be double? Can it be single, uint8, or logical instead? Will it have any values other than 1 or small integers?
Are the entries mostly zeros? Could you use the SPARSE command?
If you need to work with n-dimensional sparse arrays, there is this:
Play games and win prizes!Learn more