Post Reply 
Plotting curve f(x,y,z) with HP Prime
11-20-2014, 07:14 AM
Post: #2
RE: Plotting curve f(x,y,z) with HP Prime
You can use the parametric app, but you'll have to transform the 3 dimensions down to 2. You do this through the use of rotation matrices - rotate about x, rotate about y, rotate about z (see wiki discussing 3D rotations for instance).

For example, if you rotate about x by -45 degrees, then rotate about z by 30 degrees, your rotation matrix is [[0.7071068, 0.3535534, -0.6123724], [0, 0.8660254, 0.5], [0.7071068, -0.3535534, 0.6123724]]. Your input vector is [a*sin(T), a*cos(T), c*T]. So you'd left multiply your rotation matrix with your input vector, then decide which two components to view.

Suppose you wanted to plot the new x and y projection. Then in the Parametric Symbolic View you'd enter X1(T) = 0.7071*A*SIN(T)+0.3536*A*COS(T)-0.6124*C*T and for Y1(T) = 0.8660*A*COS(T)+0.5*C*T. See screen shots.
       
Probably you're going to want a program where you enter the yaw, pitch, and roll angles and the function you want to plot, and the program does the rotation and configures X1(T) and Y1(T) for you.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Plotting curve f(x,y,z) with HP Prime - mbeddo - 11-20-2014 07:14 AM



User(s) browsing this thread: 1 Guest(s)