How can I create a matrix from 3 vectors?

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!

 Respuesta aceptada

Walter Roberson
Walter Roberson el 5 de Jun. de 2018

1 voto

griddata()

Más respuestas (0)

Categorías

Más información sobre Data Distribution Plots en Centro de ayuda y File Exchange.

Preguntada:

el 5 de Jun. de 2018

Comentada:

el 5 de Jun. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by