How to implement kriging in Matlab?

90 ビュー (過去 30 日間)
KarolN
KarolN 2022 年 1 月 7 日
コメント済み: KarolN 2022 年 1 月 12 日
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?
  2 件のコメント
Image Analyst
Image Analyst 2022 年 1 月 9 日
Are you using commas for decimal points instead of periods? Like (x,y) = 7,5 -- okay that means commas are commas. But SoilLevel1 = (3, 27) - what the heck does that mean? Is the value 3.27? Or do you have two values: 3 and 37? And if two values, what does each value represent?
KarolN
KarolN 2022 年 1 月 9 日
No, these are commas all right. 3,27 is one value. It means soil layer 1 ENDS at depth of 3,27 meters, as measured from the surface level.
Similarly soil layer 3 ends at 8,95 meters and so on.

サインインしてコメントする。

回答 (2 件)

the cyclist
the cyclist 2022 年 1 月 8 日
Googling "MATLAB" and "kriging" turned up this submission from the File Exchange.
  4 件のコメント
the cyclist
the cyclist 2022 年 1 月 8 日
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.
KarolN
KarolN 2022 年 1 月 8 日
Thanks anyway for your effort. Maybe the thread will attract someone who had similar exercise.

サインインしてコメントする。


Image Analyst
Image Analyst 2022 年 1 月 8 日
I believe I saw somewhere in the documentation that scatteredInterpolant did kriging. Attached is a demo.
  10 件のコメント
Wolfgang Schwanghart
Wolfgang Schwanghart 2022 年 1 月 12 日
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.
KarolN
KarolN 2022 年 1 月 12 日
I do not deny what you say is right. But student exercises do not always make sense. I am supposed to use kriging in matlab, not only zsoil...

サインインしてコメントする。

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by