How to create contour maps in MATLAB?
Mostra commenti meno recenti
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?
Risposte (1)
Sulaymon Eshkabilov
il 24 Mag 2021
0 voti
Hi,
Here is a nice matlab code for kriging method based interpolation.
Good luck.
5 Commenti
Ivan Mich
il 24 Mag 2021
Ivan Mich
il 26 Mag 2021
Sulaymon Eshkabilov
il 26 Mag 2021
Note that kriging method is a different meshing method that differs from MATLAB's meshgrid and is applicable for landscape mapping.
Once you get x, y, z computed, then you just use contour().
Ivan Mich
il 26 Mag 2021
Sulaymon Eshkabilov
il 31 Mag 2021
You've made a small err. You should use this command:
contour(gridX, gridY, elevation)
Categorie
Scopri di più su Contour Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!