How can I create a matrix from 3 vectors?

조회 수: 15 (최근 30일)
Robert
Robert 2018년 6월 5일
댓글: Robert 2018년 6월 5일
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에서 Data Distribution Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by