Home > freetb4matlab > general > nthroot.m

nthroot

PURPOSE ^

%

SYNOPSIS ^

function y = nthroot (x, m)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} nthroot (@var{x}, @var{n})
% 
% Compute the n-th root of @var{x}, returning real results for real 
% components of @var{x}.  For example
%
% @example
% @group
% nthroot (-1, 3)
% @result{} -1
% (-1) ^ (1 / 3)
% @result{} 0.50000 - 0.86603i
% @end group
% @end example
%
% @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