# Questions tagged [quaternions]

The tag has no usage guidance.

25 questions
Filter by
Sorted by
Tagged with
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 ...
243 views

### Bug in Mathematica 9 (Quaternion)

The code: << Quaternions; Exp[Quaternion[1, 0, 0, 0]] produces an error: ...
1k 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?
545 views

### Symbolic Quaternion Multiplication

It is possible to do the symbolic multiplication $qq^*$ of a quaternion $q=a+bi+cj+dk$ by its conjugate $q^*=a-bi-cj-dk$ using Mathematica? It seems that Quaternion package only works with numeric ...
614 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 ...
2k views

### Converting a rotation matrix to a 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 ...
545 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. ...
236 views

### Evaluating standard functions of general quaternions symbolically

Mathematica can easily compute exponentials and logarithms of concrete quaternions: ...
190 views

### Feature of quaternion Cos, Cot etc

I am new to SE Mathematica, and search gives no answer; so here is my problem: During the testing of my numerical library for quaternions with Mathematica (package Quaternions) I observed the ...
96 views

### Wrong Output in self defined Quaternionic Multiplication

I tried to define quaternionic multiplication in terms of pairs of complex numbers where I identify $\mathbb{C}^2$ with $\mathbb{H}$ via $(z,w)\mapsto z+jw$. Consequently, I used the multiplication ...
166 views

### I need to make and manipulate a group ( the quaternion)

I am trying to define a group and use it to defined its classes, its character table, and irreducible representations. I am having trouble finding code to define a group and use it.
298 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 ...
366 views

### Program to demonstrate rotation according to quaternion values [duplicate]

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 ...
102 views

229 views

### Converting quaternion to Euler Angles

I am using quaternions to describe 3D rotations which parametrized by Euler angles, and as a preliminary task I am trying to implement conversion routines that go between Euler angles and quaternions. ...
47 views

### Find vectors describing two interconnected pyramids in Euclidean space

I need the help of competent linear algebra specialists in Mathematica. In the Euclidean space, two tetrahedrons are turned at different angles. Their vertices coincide with the beginning of the base ...
43 views

### Compute component of a Quaternion with an assumption [closed]

I am really new to mathematica and the syntax sometimes is a bit hard for me. I come from Matlab environment. I think this question is really easy for the most of you. I am trying to use quaternions ...
123 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 ...
50 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}.