Error in surfergrifmap function
조회 수: 1 (최근 30일)
이전 댓글 표시
I am trying to use surfergridmap function in order to make a map with contours in matlab (see here https://www.mathworks.com/matlabcentral/fileexchange/10986-surfer-griddata). But when I use this command , command error shows :
Error using kriging (line 24)
Error. Input at least PointsX, PointsY and PointsElev
Error in Untitled2 (line 28)
[Xi,Yi,Zi]=surfergriddata(X,Y,Z,Xi,Yi,kriging)
my code is
clc
clear
filename1= 'file.csv'
[d1,tex]= xlsread(filename1);
X =d1(:,1);
Y=d1(:,2);
X=d1(:,3);
[Xi, Yi] = meshgrid(...
linspace(min(X),max(X)),...
linspace(min(Y),max(Y)));
[Xi,Yi,Zi]=surfergriddata(X,Y,Z,Xi,Yi,kriging)
could you please help me?
댓글 수: 0
답변 (1개)
Walter Roberson
2021년 8월 19일
[Xi, Yi, Zi] = surfergriddata(X, Y, Z, Xi, Yi, 'kriging')
댓글 수: 9
Walter Roberson
2021년 8월 27일
http://mgstat.sourceforge.net/ looks like it is an interface to gstat and it appears gstat is open source.
참고 항목
카테고리
Help Center 및 File Exchange에서 Web Services에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!