- #1
GreenPrint
- 1,196
- 0
Homework Statement
Hi,
I'm taking Intro to Computing for Engr. and my highest level math course I have taken is Calculus I. I'm trying to solve this problem in my book for Intro to Computing for Engr. and believe that the math is over my head. This may well be the case. But sense this is a course in which I'm trying to learn how to use MATLAB and not whatever math course in which I would learn how to do such a thing as in the title so I'm kind of lost as to what to do. It's not that I need help using MATLAB I just need help with the math.
5.28
See the first attachment, it's Figure P5.28 in the book
"Figure out how to adjust your input to plot3 in Problem 5.27 so as to create a graph that looks like a tornado. (See Figure P5.28.) Use comet3 instead of plot3 to create the graph."
Note that the plot3 command just plots in three dimensions and comet3 is a command that just plots in three dimensions but allows the use to view the graph being plotted. The inputs to both commands are just the x values, the y values, and the z values.
Alright problem 5.27 had me plotting a three dimensional graph were
x=[0:pi/100:20*pi]
Note that this is just all the values that occur from 0 to 20*pi by increments of pi/100
y = x sin(x)
z = x cos(x)
The resulting graph that I got when I graphed it using the plot3 command is the second attachment.
Alright I have no idea how to manipulate plot3(x,y,z), (see were I defined x, y, and z), to get the tornado figure and was hoping someone could point me in the right direction in some way shape or form.
Thanks!