Home > freetb4matlab > quaternion > quaternion.m

quaternion

PURPOSE ^

% Construct or extract a quaternion

SYNOPSIS ^

function [a, b, c, d] = quaternion (w, x, y, z)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {[@var{a}, @var{b}, @var{c}, @var{d}] =} quaternion (w)
% @deftypefnx {Function File} {[@var{vv}, @var{theta}] =} quaternion (w)
% @deftypefnx {Function File} {@var{w} =} quaternion (@var{a}, @var{b}, @var{c}, @var{d})
% @deftypefnx {Function File} {@var{w} =} quaternion (@var{vv}, @var{theta})
% Construct or extract a quaternion
%
% @example
% w = a*i + b*j + c*k + d
% @end example
%
% @noindent
% from given data.
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003