Info

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

Plotting 3D graph of x,y,z with several variables

1 Ansicht (letzte 30 Tage)
Pamu
Pamu am 2 Mai 2013
Hi, I want to plot the 3D plot, where x,y and z are function of several variables. as an example,
x =sin(a1)*sin(a2)+100*cos(a1); y= con(a1)*cos(a2); z=sin(a1)*sin(a2)*cos(a2)+50; where a1,a2, are angles and know the range of those.Also It is difficulty to get z as a function of x and y, ie z=f(x,y) cannot solve.
How I get the plot of x,y and z. what is the function in matlab? If any body knows this. pls. give a quick feedback, this is very urgent to me. Please.
Thank You
  2 Kommentare
Matt Kindig
Matt Kindig am 2 Mai 2013
It would look at the documentation for surf() and meshgrid(). In particular, look at the Example in the documentation for meshgrid().
doc surf
doc meshgrid

Antworten (1)

Seyhan Emre Gorucu
Seyhan Emre Gorucu am 2 Mai 2013
google scatter3. It might help.

Community Treasure Hunt

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

Start Hunting!

Translated by