source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/qtfm/@quaternion/subsindex.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 523 bytes
Line 
1function 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
12error('Subsindex is not implemented for quaternions. Try help quaternion/subsindex.')
13
Note: See TracBrowser for help on using the repository browser.