フィルターのクリア

mrdivide Memory Issue

1 回表示 (過去 30 日間)
Braden
Braden 2011 年 5 月 9 日
I have a 28000x86 dataset. When I perform this line of code to calculate a pre-initialized value 'rho' from 'BarP' and 'Tair' (both variables in the datset):
wind.rho = (wind.BarP*100)/(Rair*(wind.Tair+273.15));
It outputs this memory error: ??? Error using ==> mrdivide Out of memory. Type HELP MEMORY for your options.
The dataset is only 21.5MB, and I hope to manipulate much larger datasets in the near future. Here are my current memory stats:
Maximum possible array: 403 MB (4.223e+008 bytes) Memory available for all arrays: 1100 MB (1.154e+009 bytes) Memory used by MATLAB: 583 MB (6.116e+008 bytes) Physical Memory (RAM): 3260 MB (3.419e+009 bytes)

採用された回答

Walter Roberson
Walter Roberson 2011 年 5 月 9 日
Are you sure you want a matrix division, and not
wind.rho = (wind.BarP*100) ./ (Rair*(wind.Tair+273.15));
  1 件のコメント
Braden
Braden 2011 年 5 月 9 日
Argh, that was a silly mistake. Thanks Walter!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConverters (Low Power) についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by