Search for a tool
Transition Matrix

Tool for calculating a transition matrix (change of basis) based on a homothety or rotation in a vector space and coordinate change calculations.

Results

Transition Matrix -

Tag(s) : Matrix

Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Thanks to your feedback and relevant comments, dCode has developed the best 'Transition Matrix' tool, so feel free to write! Thank you!

# Transition Matrix

## Transition Equations Calculator

(if this message do not disappear, try to refresh this page)

## Rotation Matrix Calculator

### From rotation data in 3D

 Rotation axis Axis X Axis Y Axis Z

### From 2 vectors (any dimension)

(if this message do not disappear, try to refresh this page)

(if this message do not disappear, try to refresh this page)

## Answers to Questions (FAQ)

### What is a transition matrix? (Definition)

The transition matrix is the matrix allowing a calculation of change of coordinates according to a homothety or a rotation in a vector space.

### How to calculate change of basis equations?

From a transformation matrix $P$ (also called base change of basis matrix), any vector $v$ then becomes the vector $v'$ in the new base by the computation (dot / multiplication">matrix product) $$v' = P.v$$

Example: $\begin{bmatrix} v_1' \\ v_2' \end{bmatrix} = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} . \begin{bmatrix} v_1 \\ v_2 \end{bmatrix}$

### How to calculate a rotation matrix?

From a rotation angle $\alpha$ (trigonometric direction) and an axis, the rotation matrix is written as (rotation around the axis $z$) $$\begin {bmatrix} \cos \alpha & - \sin \alpha & 0 \\ \sin \alpha \cos \alpha & 0 \\ 0 & 0 & 1 \ \end{bmatrix}$$

From 2 vectors (the original and the destination one), it is possible to generate an equation system to solve to find the values of $\alpha$ and the axis.

### How to calculate a homothety matrix?

From the value of the scaling factor $k$ (homothety assumed to be uniform throughout the vector space of size $n$), the passing matrix is given by the formula $k.I_n$ (with $I_n$ the identity matrix).

## Source code

dCode retains ownership of the "Transition Matrix" source code. Except explicit open source licence (indicated Creative Commons / free), the "Transition Matrix" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or the "Transition Matrix" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Transition Matrix" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.

## Cite dCode

The copy-paste of the page "Transition Matrix" or any of its results, is allowed as long as you cite dCode!
Cite as source (bibliography):
Transition Matrix on dCode.fr [online website], retrieved on 2022-08-08, https://www.dcode.fr/matrix-change-basis

## Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

## Questions / Comments

Thanks to your feedback and relevant comments, dCode has developed the best 'Transition Matrix' tool, so feel free to write! Thank you!

https://www.dcode.fr/matrix-change-basis
© 2022 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.

Feedback