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

2 votes

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

Hi can you show me how it can be done in matlab.
Can you please share me the code u develop for kriging model ?
hi can you tell the criteria for datasets

Sign in to comment.

More Answers (1)

Walter Roberson
Walter Roberson on 30 Oct 2017

0 votes

5 Comments

Attached is a data set can someone show me how to perform kriging.
The Kriging Toolbox that I linked to provides about 8 different kinds of kriging; which type do you need?
The Kriging and Inverse Distance Interpolation using GSTAT method
Walter Roberson
Walter Roberson on 30 Oct 2017
Edited: Walter Roberson on 30 Oct 2017
Note that needs variogramfit as an input
Can you show me an example how to do that. Thank you

Sign in to comment.

Categories

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