Contour3 problem with data arrays

1 view (last 30 days)
Mateusz Brzezinski
Mateusz Brzezinski on 10 Feb 2021
Commented: darova on 11 Feb 2021
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!

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!