Line | |
---|
1 | function q = qj |
---|
2 | % qj is one of the three quaternion operators. |
---|
3 | % qj is usually denoted by j, but this symbol is used in Matlab to represent |
---|
4 | % the complex operator (also represented by i). |
---|
5 | |
---|
6 | % Copyright © 2005 Stephen J. Sangwine and Nicolas Le Bihan. |
---|
7 | % See the file : Copyright.m for further details. |
---|
8 | |
---|
9 | q = quaternion(0, 1, 0); |
---|
10 | |
---|
11 | % Implementation note: j cannot be overloaded because it is a built-in Matlab |
---|
12 | % operator. J cannot be used because Matlab does not distinguish between upper |
---|
13 | % and lower case. |
---|
Note: See
TracBrowser
for help on using the repository browser.