Problem with Meshgrid in 3D(x,y,z) of large values i.e 4511X1 array each

4 views (last 30 days)
Hi, I am performing kriging using mgstat function, I have nearly x , y, z co-ordinates of(4511X1) arrays and values i.e say N(4511X1) array. i used gstat_krig function. But when i do meshgrid, it could not create meshgrid of large values. pls help. I tried my best
  3 Comments
Divya Priya
Divya Priya on 7 Oct 2017
Thank you for the reply. the function is for 2 dimensions, I am trying it for 3 dimensions. When I run the code first in 2d I am getting the following error.
Error using fgets Invalid file identifier. Use fopen to generate a valid file identifier.
Error in fgetl (line 33) [tline,lt] = fgets(fid);
Error in SampleVarioGstat (line 67) fgetl(fid); I even tried fullfile based on your previous answer, but i get error:Error using fopen Invalid permission. Kindly help
Walter Roberson
Walter Roberson on 7 Oct 2017
You have to be either cd'd to a directory that you can write files into, or you have to give the full path to a file in a directory that you can write to.

Sign in to comment.

Accepted Answer

danah alotaibi
danah alotaibi on 6 Oct 2017
you can't do mesh grid for large numbers like this , i tried to do it also and its say 'Maximum variable size allowed by the program is exceeded.'

More Answers (0)

Categories

Find more on File Operations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!