How to implement kriging in Matlab?
71 views (last 30 days)
Show older comments
I need to perform kriging in Matlab based on three borehole samples.
Numbers for soil layers indicate depth from ground zero, boreholes - position on model.
The outcome should look something like this (already done that in Zsoil):
Any ideas how to perform this?
3 Comments
Phillip coupe
on 23 Jul 2024
no need to be rude a comma is a common point in europe. to auther though thsi is matlab if you are using decimalisation you must use decimal points. commas are seperators in matlab and will fail if you mix and match
Answers (2)
the cyclist
on 8 Jan 2022
4 Comments
the cyclist
on 8 Jan 2022
Sorry, but I am completely ignorant of this method, so I can't really give you a better "hint" than providing you with a pointer to code where someone else solved the problem. I would have hoped that this would give you a solid headstart on writing your own.
I hadn't noticed how old the submission I mentioned was. There are other kriging examples in the File Exchange, that look more up-to-date. Maybe they will be more helpful.
Image Analyst
on 8 Jan 2022
I believe I saw somewhere in the documentation that scatteredInterpolant did kriging. Attached is a demo.
10 Comments
Wolfgang Schwanghart
on 12 Jan 2022
Actually, I don't understand why you need kriging here. The figure created by Zsoil shows a linear interpolation of the individual depths above which soils are classified into the respective soil layers. Kriging won't help here, inparticular since you would need to have a variogram.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!