I have a 108x108 cell, each cell contains a double of 525600x1, which represents a value for every minute of the year (the value can be two values 0 or 11)
I will generate 36 of these cells, my memory is limited to 64 GB. Can I somehow reduce the memory of the doubles?

 채택된 답변

the cyclist
the cyclist 2021년 4월 19일

0 개 추천

Yes, there are many numeric types that use less memory than a double.
Looks like you could use an 8-bit unsigned integer.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

제품

릴리스

R2017b

질문:

2021년 4월 19일

답변:

2021년 4월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by