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