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

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

Added original make3d

File size: 503 bytes
Line 
1function q = q2
2% q2 is one of the three quaternion operators.
3% q2 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
9q = 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.