필터 지우기
필터 지우기

Out of memory problem in MATLAB 2017

조회 수: 1 (최근 30일)
Joydeb Saha
Joydeb Saha 2022년 2월 7일
댓글: Rik 2022년 2월 7일
In general the .mat files are of 1 or 2 kb like that.
When I converted the Lat and Lon python ( numpy) files to .mat files. It goes upto around 459685kb.
So when i try to make a meshgrid of these. Matlab shows out of memory.
Is there any solution?
  댓글 수: 7
Joydeb Saha
Joydeb Saha 2022년 2월 7일
well I understood. but if the lat lon size is that high, how can i make spatial map with this
Rik
Rik 2022년 2월 7일
You want to plot a map with 10848^4 pixels? That will end up with this size image:
%assuming 3*8 bit RGB
sz=3*10848^4;
fprintf('%d bytes\n',sz),fprintf('%.1f TB\n',sz/(1024^4))
41545114554728448 bytes 37785.1 TB
Do you have that kind of hardware?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Geographic Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by