Kriging codes in matlab

140 views (last 30 days)
Kaushal Kishore
Kaushal Kishore on 30 Oct 2017
Commented: Shiba shankar on 4 Sep 2023
Can anyone tell me what code is needed for performing kriging.
  2 Comments
John D'Errico
John D'Errico on 30 Oct 2017
Edited: John D'Errico on 30 Oct 2017
Please do not post another question just to attach some data to the new question.
By the way, the data that you did post is barely sufficient for any interpolation method.
Just use scatteredInterpolant.
Kaushal Kishore
Kaushal Kishore on 30 Oct 2017
Edited: Kaushal Kishore on 30 Oct 2017
Yes sir i know that the data provided is not sufficient. I just wanted to know the step by step procedure to conduct kriging in matlab.

Sign in to comment.

Accepted Answer

Kelly Kearney
Kelly Kearney on 30 Oct 2017
Walter's answer links to the best toolbox that I know of for kriging in Matlab. However, if you really want to use the gstat method, I would suggest actually using gstat itself (in R). The R package is much more robust than anything you're going to find in Matlab (and I say that as a person with a strong preference for Matlab over R in almost all other contexts).
Also consider whether kriging (or any geostatistical interpolation method) is really ideal for your dataset. I see a lot of people trying to use kriging simply because that's the ArcGIS default, and they want to create a similar map, without taking the time to understand the many assumptions used to generate those maps.
  3 Comments
keenjhar ayoob
keenjhar ayoob on 20 Oct 2022
Can you please share me the code u develop for kriging model ?
Shiba shankar
Shiba shankar on 4 Sep 2023
hi can you tell the criteria for datasets

Sign in to comment.

More Answers (1)

Walter Roberson
Walter Roberson on 30 Oct 2017
  5 Comments
Walter Roberson
Walter Roberson on 30 Oct 2017
Edited: Walter Roberson on 30 Oct 2017
Note that needs variogramfit as an input
Kaushal Kishore
Kaushal Kishore on 30 Oct 2017
Can you show me an example how to do that. Thank you

Sign in to comment.

Categories

Find more on Interpolation 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!