The tag has no usage guidance.

learn more… | top users | synonyms

15
votes
2answers
2k views

Fast Spherical Linear Interpolation of list of quaternions

An accurate way to interpolate between two quaternions is to use Spherical Linear Interpolation (Slerp) because it preserves the unit length, whereas straightforward linear interpolation does not, as ...
7
votes
1answer
825 views

Octonions in Mathematica

Is there a package or Notebook for Mathematica that can enable me to do some numerical calculations with octonions? Maybe a way to plug-in the octonion multiplication table?
5
votes
1answer
422 views

command to expand quaternion multiplication

Is there are any command to expand quaternion multiplication as below STEP by STEP. Below is equation from my text. I'm self learner and for some reason I can't wrap my head around quaternion ...
4
votes
2answers
243 views

Getting Values From Quaternions

I'm using the Quaternion package: << Quaternions` Very simply, I would like to be able to get the individual components of the quaternions by themselves. ...
4
votes
1answer
95 views

Evaluating standard functions of general quaternions symbolically

Mathematica can easily compute exponentials and logarithms of concrete quaternions: ...
3
votes
1answer
230 views

FromQuaternion and QuaternionQ not working symbolically?

How can I get Mathematica to work with quaternions symbolically? I want to do some quaternion math without defining the actual coefficients, and then extract the coefficients from the resulting ...
3
votes
0answers
32 views

Bug in Mathematica 9 (Quaternion)

That code: << Quaternions`; Exp[Quaternion[1, 0, 0, 0]] produce bug: ...
2
votes
1answer
573 views

Rotation matrix $\to$ quaternion

I found a very good link about quaternions in Mathematica , but I don't know how to create a quaternion from a rotation matrix. Can anyone help me, please? Update I need this: A rotation may be ...
2
votes
1answer
113 views

Program to demonstrate rotation according to quaternion values

On the Wolfram|Alpha website, I type quaternion(1,1,1,1) into the search field. Wolfram|Alpha shows a 3D transformation of the quaternion values representing the orientation of an object. I have 9 ...
2
votes
0answers
124 views

Animate FromQuarternionTo3DRotation nb file with 4 quarternion values

I have a csv file. Inside the csv file, there are few rows of 4 quartenion values. I would like to animate the quarternion nb in http://demonstrations.wolfram.com/FromQuaternionTo3DRotation/ I ...
1
vote
1answer
269 views

How to work with quarternions in Wolfram Mathematica? [closed]

How can I write the insructions from this link http://blog.wolframalpha.com/2011/08/25/quaternion-properties-and-interactive-rotations-with-wolframalpha/ in Mathematica to obtain the same result? ...
1
vote
0answers
63 views

Quaternion calculation [closed]

Quaternion[0, Cos[Pi/20]/Sqrt[2], Sin[Pi/20]/Sqrt[2], 0] ** Quaternion[0, 1, 0, 0] ** Quaternion[0, -Cos[Pi/20]/Sqrt[2], -Sin[Pi/20]/Sqrt[2], 0] this should ...
0
votes
0answers
14 views

Quaternions and Rotations [migrated]

I have 2 points in 3d space ,point A= <5,3,6> and B=<8,2,3> I want to rotate "point B" by 30 degree from point A. how do I solve this question using quaternion. Plz, explain the steps....
0
votes
0answers
40 views

How can I get a list of the “coefficients” of Quaternion[1, 2, 3, 4]? [duplicate]

I want to input: Quaternion[1, 2, 3, 4] to get a list: {1,2,3,4}.
0
votes
0answers
83 views

Log of a Quaternion

My mathematica Input[In] code: ***q = Quaternion[0.1, 0.2, 0.3, 0.4] t=Log[q] QuaternionQ[t]*** Resepective results[Out] from Mathematica 9.0: ...
-5
votes
2answers
221 views

Output of mathematica. Quaternion to Matrix [closed]

If I have the following instructions: How will it be the output/how will it appears in Mathematica? something like this: I can't recognize the output in mathematica... How can I do to appear ...