How can I create a matrix from 3 vectors?

15 vues (au cours des 30 derniers jours)
Robert
Robert le 5 Juin 2018
Commenté : Robert le 5 Juin 2018
Hello,
I would like to ask if anyone knows how to create a matrix from 3 vectors: values (z), latitude (y), and depth (x), as I want to create a heatmap from this data. In my case, I want to plot z in a 2D (x,y). I found this link to create 'customizable heat maps', but I need my data as a matrix.
Any suggestions? Thank you!

Réponse acceptée

Walter Roberson
Walter Roberson le 5 Juin 2018
griddata()
  1 commentaire
Robert
Robert le 5 Juin 2018
Great, thanks again, Walter!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Green dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by