MATLAB Answers

Robert
0

How can I create a matrix from 3 vectors?

Asked by Robert
on 5 Jun 2018
Latest activity Commented on by Robert
on 5 Jun 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!

  0 Comments

Sign in to comment.

1 Answer

Answer by Walter Roberson
on 5 Jun 2018
 Accepted Answer

griddata()

  1 Comment

Great, thanks again, Walter!

Sign in to comment.