Home > freetb4matlab > general > logspace.m

logspace

PURPOSE ^

% Similar to @code{linspace} except that the values are logarithmically

SYNOPSIS ^

function retval = logspace (x1, x2, n)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} logspace (@var{base}, @var{limit}, @var{n})
% Similar to @code{linspace} except that the values are logarithmically
% spaced from
% @iftex
% @tex
% $10^{base}$ to $10^{limit}$.
% @end tex
% @end iftex
% @ifnottex
% 10^base to 10^limit.
% @end ifnottex
%
% If @var{limit} is equal to
% @iftex
% @tex
% $\pi$,
% @end tex
% @end iftex
% @ifnottex
% pi,
% @end ifnottex
% the points are between
% @iftex
% @tex
% $10^{base}$ and $\pi$,
% @end tex
% @end iftex
% @ifnottex
% 10^base and pi,
% @end ifnottex
% @emph{not}
% @iftex
% @tex
% $10^{base}$ and $10^{\pi}$,
% @end tex
% @end iftex
% @ifnottex
% 10^base and 10^pi,
% @end ifnottex
% in order to be compatible with the corresponding @sc{matlab}
% function.
%
% Also for compatibility, return the second argument if fewer than two
% values are requested.
% @seealso{linspace}
% @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