How to create contour maps in MATLAB?

12 views (last 30 days)
Ivan Mich
Ivan Mich on 24 May 2021
Hello
I have a question about a code
I would like to create contour maps in matlab with kriging method. I use meshgrid and griddata commands to create contour maps, but the above commands use triangulation method. I would like to use kriging method?
Is there a way to make it? Could you please help me?

Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 24 May 2021
Hi,
Here is a nice matlab code for kriging method based interpolation.
Good luck.
  5 Comments
Sulaymon Eshkabilov
Sulaymon Eshkabilov on 31 May 2021
You've made a small err. You should use this command:
contour(gridX, gridY, elevation)

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by