is there another data type other then double/single/uint with less memory requirements?

3 ビュー (過去 30 日間)
Kobi
Kobi 2014 年 2 月 15 日
再開済み: Azzi Abdelmalek 2014 年 2 月 15 日
i have a problem with big matrics (20e3 by 20e3) currently they take too much ram, i guess that the problem has something to do with the floating point, for example uint takes only a fraction from a double data but the problem is that this data type round the number into an integer.
single is a half of double in memory consumption but still not good enaught.
is there another data type that meets my requirements? or shuld i just change the settings of the matlab floating point? if so, then how?
maybe you have another suggestion?
  3 件のコメント
Kobi
Kobi 2014 年 2 月 15 日
it's not the same question. uint8 is the wrong choice for me
Wolfgang Schwanghart
Wolfgang Schwanghart 2014 年 2 月 15 日
As said by David Young, single is the smallest data type. Perhaps you could tell more about what kind of analysis you want to do. There are functions such as blockproc, for example, that let you work with images that don't fit into main memory.

サインインしてコメントする。

回答 (1 件)

David Young
David Young 2014 年 2 月 15 日
If you need floating point, then single is the smallest data type.
The best solution may well be to process the large matrices in sections if the computation allows it.

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by