Rev | Line | |
---|
[37] | 1 | function ind = subsindex(a) |
---|
| 2 | % Unimplemented subsindex function for quaternions. |
---|
| 3 | % |
---|
| 4 | % Implementation note: if the user defines a variable named |
---|
| 5 | % e.g. s, x, y, z, and then enters s(a) (where a is a quaternion) |
---|
| 6 | % expecting to get the scalar part of a, Matlab will try to use |
---|
| 7 | % the quaternion a to index the user's variable s. |
---|
| 8 | |
---|
| 9 | % Copyright © 2005 Stephen J. Sangwine and Nicolas Le Bihan. |
---|
| 10 | % See the file : Copyright.m for further details. |
---|
| 11 | |
---|
| 12 | error('Subsindex is not implemented for quaternions. Try help quaternion/subsindex.') |
---|
| 13 | |
---|
Note: See
TracBrowser
for help on using the repository browser.