Plotting this 3D function on MATLAB

Status
Not open for further replies.

zeeshanzia84

Full Member level 3
Joined
May 29, 2006
Messages
166
Helped
35
Reputation
70
Reaction score
17
Trophy points
1,298
Location
Pakistan / Germany
Activity points
2,680
plotting of 3d functions in matlab

Hello,

Can somebody please tell me how I can plot a function of three variables in matlab? Please give examples.

How about a Hyperboloid (described by the following parametric equations)?

x = a cosh(t)
y = b sinh(t)cosΦ
z = c sinh(t)sinΦ

Its not an assignment or anything....its just that I am having a hardtime visualizing such functions in my head....and I want to see them on the computer screen...

Thanks a lot in advance.
 

well ... doing plot we have limiting of the plotting functions ... i.e. the lower and upper ranges ...

so provide your ranges and use plot3d(), mesh etc function in matlab for plot

best way to learn matlab is to use help command as mush as your can

for more details help plot3d on the command window
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…