How can I create a matrix from 3 vectors?

15 次查看(过去 30 天)
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!

采纳的回答

Walter Roberson
Walter Roberson 2018-6-5
griddata()

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Green 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by