Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Okada code error #3

Open
charithaRdissanayaka opened this issue Jul 31, 2024 · 1 comment
Open

Okada code error #3

charithaRdissanayaka opened this issue Jul 31, 2024 · 1 comment

Comments

@charithaRdissanayaka
Copy link

Hello Sir,

I tried to run the Okada MATLAB code for the given example.
I observed the following error.
Can you please let me know how to run this model.

okada85
Out of memory. The likely cause is an infinite recursion within the program.

Error in okada85 (line 69)
[uE,uN,uZ] = okada85(E,N,2,30,70,5,3,-45,1,1,'plot');

@beaudu
Copy link
Member

beaudu commented Aug 1, 2024

Hi,
These 2 lines should not produce any error:

[E,N] = meshgrid(linspace(-10,10,50));
[uE,uN,uZ] = okada85(E,N,2,30,70,5,3,-45,1,1,'plot');

The data grid size is only 50*50 points, which is ok for any computer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants