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 Sat 16-May-2009 00:04:49 by m2html © 2003