Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How do I create a 3D surface plot of this data in MATLAB?

1 vue (au cours des 30 derniers jours)
Patrick Smith
Patrick Smith le 7 Oct 2019
Clôturé : Walter Roberson le 7 Oct 2019
Hi guys,
I am trying to create a 3D surface plot of my data here. I have organized the data into the x values, y values and z values. So the first point would be (18,180,9) and the second point would be (19,0,9) and so on. I want to create a 3D surface out of these points but I am unsure of how to use surf and meshgrid to do so. Please help me!
X values: 18 19 20 20 20 20 20 21 21 21 21 35 35 36 37 37 37 37 38 38 38 38 55 55 56 56 56 57 57 57 57 57 58 76 76 76 77 77 77 77 77 77 78 95 95 95 95 96 96 96 97 97 98 98 137 137 138 139 139 139 139 140 140 140 140 178 178 179 179 180 180 180 180 180 181 181
Y values: 180 0 10 110 120 140 160 30 50 70 90 160 180 110 0 70 90 140 10 30 50 120 140 180 90 120 160 10 30 50 70 110 0 140 160 180 0 30 50 70 90 110 120 120 140 160 180 70 90 110 0 30 10 50 0 10 30 50 70 120 140 90 110 160 180 50 70 30 140 0 10 90 110 120 160 180
Z Values: 9 9 9 9 9 9 9 9 9 9 9 8 8 8 8 8 8 8 8 8 8 8 7 7 7 7 7 7 7 7 7 7 7 6 6 6 6 6 6 6 6 6 6 5 5 5 5 5 5 5 5 5 5 5 3 3 3 3 3 3 3 3 3 3 3 1 1 1 1 1 1 1 1 1 1 1

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by