Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to plot a 3d graph using two vectors and one expression

1 Ansicht (letzte 30 Tage)
Darryl
Darryl am 4 Feb. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I am trying to create a 3d graph that compares each value in array X and Y for the minimum value: min(x,y)
This is what I have created so far:
x = [0:0.1:1]
y = x
y = fliplr(y)
So, for example, when Y is 0.9, X is 0.1, etc.
Then I opened the plot tools, choose a 3d graph, clicked "add data" and chose 3d mesh. I added X to x, Y to y and for z: min(x,y)
I then received an error stating that axis z must be a matrix.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by