Info

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

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

1 vue (au cours des 30 derniers jours)
Pamu
Pamu le 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 commentaires
Matt Kindig
Matt Kindig le 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

Réponses (1)

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

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by