<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://spindynamics.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Qter2euler.m</id>
	<title>Qter2euler.m - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://spindynamics.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Qter2euler.m"/>
	<link rel="alternate" type="text/html" href="https://spindynamics.org/wiki/index.php?title=Qter2euler.m&amp;action=history"/>
	<updated>2026-12-04T21:33:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.15</generator>
	<entry>
		<id>https://spindynamics.org/wiki/index.php?title=Qter2euler.m&amp;diff=10276&amp;oldid=prev</id>
		<title>Kuprov: version fragment to 2.13 per IK 2026-08-30</title>
		<link rel="alternate" type="text/html" href="https://spindynamics.org/wiki/index.php?title=Qter2euler.m&amp;diff=10276&amp;oldid=prev"/>
		<updated>2026-08-30T09:12:48Z</updated>

		<summary type="html">&lt;p&gt;version fragment to 2.13 per IK 2026-08-30&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 09:12, 30 August 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot; &gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[qter2dcm.m]], [[euler2qter.m]], [[dcm2qter.m]], [[dcm2euler.m]], [[euler2dcm.m]], [[euler_equiv.m]], [[Rotation conventions]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[qter2dcm.m]], [[euler2qter.m]], [[dcm2qter.m]], [[dcm2euler.m]], [[euler2dcm.m]], [[euler_equiv.m]], [[Rotation conventions]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;Version 2.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;11&lt;/del&gt;, authors: [[Ilya Kuprov]]&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;Version 2.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;13&lt;/ins&gt;, authors: [[Ilya Kuprov]]&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kuprov</name></author>
		
	</entry>
	<entry>
		<id>https://spindynamics.org/wiki/index.php?title=Qter2euler.m&amp;diff=10118&amp;oldid=prev</id>
		<title>Kuprov: sync with Spinach main f053e432: new page for quaternion to Euler angles conversion</title>
		<link rel="alternate" type="text/html" href="https://spindynamics.org/wiki/index.php?title=Qter2euler.m&amp;diff=10118&amp;oldid=prev"/>
		<updated>2026-08-30T08:13:18Z</updated>

		<summary type="html">&lt;p&gt;sync with Spinach main f053e432: new page for quaternion to Euler angles conversion&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:qter2euler.m}} __NOTOC__&lt;br /&gt;
Converts a unit quaternion in the active convention into Euler angles (ZYZ active convention), matching [[euler2dcm.m]] function. The quaternions are normalised elementwise, the angle sum and difference are obtained as 2*atan2(q.k,q.u) and 2*atan2(q.i,q.j), and the second Euler angle comes from 2*atan2(sqrt(q.i^2+q.j^2),sqrt(q.u^2+q.k^2)), which places it in the [0,pi] interval by construction. The conversion is vectorised: each quaternion component field may be a column vector.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&lt;br /&gt;
     [alpha,beta,gamma]=qter2euler(q)&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
     q - structure with four fields q.u, q.i, q.j, q.k giving&lt;br /&gt;
         the four components of the quaternion; each field may&lt;br /&gt;
         be a column vector, in which case the conversion is&lt;br /&gt;
         performed elementwise&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
     alpha,beta,gamma - Euler angles in radians (ZYZ active&lt;br /&gt;
                        convention), same shape as the qua-&lt;br /&gt;
                        ternion component fields&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
Euler angles are not unique; the angles returned satisfy euler2dcm(alpha,beta,gamma)=qter2dcm(q) with beta in the [0,pi] interval.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[qter2dcm.m]], [[euler2qter.m]], [[dcm2qter.m]], [[dcm2euler.m]], [[euler2dcm.m]], [[euler_equiv.m]], [[Rotation conventions]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Version 2.11, authors: [[Ilya Kuprov]]&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>Kuprov</name></author>
		
	</entry>
</feed>