필터 지우기
필터 지우기

How to fix this error please?

조회 수: 5 (최근 30일)
Nisar Ahmed
Nisar Ahmed 2021년 6월 14일
답변: Mann Baidi 2024년 6월 5일
Error using eye
Requested 57660x57660 (24.8GB) array exceeds maximum array size preference. Creation of arrays greater than this limit may take a long time and cause
MATLAB to become unresponsive. See array size limit or preference panel for more information.
Error in Ex11_Bayes_AVO_Inversion (line 79)
Sigma_e = var_e*eye(nt*ntheta); % White noise covariance
  댓글 수: 4
Walter Roberson
Walter Roberson 2021년 6월 15일
okay but we don't know nt
We also don't know how nt or ntheta are calculated in order for us to assess if the values are necessarily that high
Nisar Ahmed
Nisar Ahmed 2021년 6월 16일
Here nt is 1922.
nt is 1922 for each ntheta (1 to 30). how this issue can be resolved?

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

답변 (1개)

Mann Baidi
Mann Baidi 2024년 6월 5일
I observer that you are trying to create a 59582x 59582 matrix in your script. You are getting the error due the maximum array size limitations in MATLAB. You can remove the limitations for the maximum array size by unchecking the maximum array size limit checkbox from the preference panel following this path.
MATLAB >Preferences > Workspace > MATLAB array size limit.

카테고리

Help CenterFile Exchange에서 Programming Utilities에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by