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

5 次查看(过去 30 天)
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 个评论
Divya Priya
Divya Priya 2017-10-7
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 2017-10-7
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.

请先登录,再进行评论。

采纳的回答

danah alotaibi
danah alotaibi 2017-10-6
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.'

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by