cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Mathcad and quaternion

PatrickSaint-Je
1-Newbie

Mathcad and quaternion

Dear,
I want to program quaternion with Mathcad and want to use k like i and j for complex variable and 3D plotting.
Thanks
The best
red you soon
Patrick Saint-Jean
5 REPLIES 5

A have a search for 'quaternion' and 'quaternions'
to get some old files that do this.

I'll have a look through my files to see if I can
find the one I'm thinking of. [it uses a vector
representation]

Philip Oakley
PhilipOakley
5-Regular Member
(To:PhilipOakley)

The file (Which I think I downloaded from a thread)
Philip Oakley

On 8/6/2009 3:21:37 PM, pstjean wrote:
>Dear,
>I want to program quaternion
>with Mathcad and want to use k
>like i and j for complex
>variable and 3D plotting.
>Thanks
>The best
>red you soon
>Patrick Saint-Jean
_____________________________

There is a "Quaternion" introduction in "Creating Amazing images", free download from PTC library. There are some looking like quaternions Mathcad work sheet in the web, quite a monkey business. The thing is that the Mathcad 3D plot is not based on quaternions. At least you should have some examples, examples that you figure Mathcad can't do. The other way to understand your request is that eventually you have quaternions data from foreign source and you want to convert for Mathcad ... is it ?

jmG



Here's an old sheet with quaternion operations. I find the prefered (simplest) form is the two element vector consisting of the scalar part and the vector part (as a three element vector), but four element vctors and matrices are also possible representations.
__________________
� � � � Tom Gutman
PhilipOakley
5-Regular Member
(To:TomGutman)

On 8/6/2009 9:09:49 PM, Tom_Gutman wrote:
>Here's an old sheet with
>quaternion operations. I find
>the prefered (simplest) form
>is the two element vector
>consisting of the scalar part
>and the vector part (as a
>three element vector), but
>four element vctors and
>matrices are also possible
>representations.
>__________________
>� � � � Tom Gutman

A useful feature of Tom's approach is that being atypical relative to other worksheet contents, errors are quickly identified. They can't be added or multiplied using the regular + and . operators.

Philip Oakley
Top Tags