Home > freetb4matlab > linear-algebra > cond.m

cond

PURPOSE ^

% Compute the @var{p}-norm condition number of a matrix. @code{cond (@var{a})} is

SYNOPSIS ^

function retval = cond (a, p)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} cond (@var{a},@var{p})
% Compute the @var{p}-norm condition number of a matrix.  @code{cond (@var{a})} is
% defined as @code{norm (@var{a}, @var{p}) * norm (inv (@var{a}), @var{p})}.
% By default @code{@var{p}=2} is used which implies a (relatively slow)
% singular value decomposition.  Other possible selections are 
% @code{@var{p}= 1, Inf, inf, 'Inf', 'fro'} which are generally faster.
% @seealso{norm, inv, det, svd, rank}
% @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