Contour3 problem with data arrays

1 次查看(过去 30 天)
Hello, I would like to use a contour3 function. However, I'm not sure whats the proper way to use it on my data.
I have eleven x matrices (x1 - x11,), eleven matrices of y (y1 - y11), and one z matrix (11 cels). Both y and x matrix have 4K+ cels. Normally to plot this graph in 2D I can simply use plot(x1, y1) and so on and so on. I'm not sure how to do it with contour3.
My z matrix is an array of z values, each corresponding to each pair of y and x. That means z(1,:) describes the high(z coordinate) of every point created by x1 and y1 coordinates.
I will be grateful for any help!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by