No BSD License  

Highlights from
RADICAL

Be the first to rate this file! 2 Downloads (last 30 days) File Size: 1.44 KB File ID: #6171

RADICAL

by Mukhtar Ullah

 

03 Nov 2004 (Updated 14 Dec 2004)

Real specified roots of real array.

| Watch this File

File Information
Description

RADICAL Real specified roots of real array.

  Y = RADICAL(X, N) returns the real roots of polynomials Y.^N - X .
  Elements of N that correspond to negative elements of X must be odd
  integers.
  X and N must have the same dimensions unless one is a scalar.
  A scalar can operate into anything.

  See also realpow, nthroot

Example:
>> x = [-1 -64 81; 32 0 49; 0 1 0]; n = [3 3 4; 5 2 2; 0 0 inf];
>> radical(x,n)

ans =

    -1 -4 3
     2 0 7
   NaN 1 1

RADICAL is a replacement for NTHROOT which is famous for bugs.

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
array, radical, real, roots, specified
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
05 Nov 2004

fixed a few bugs

05 Nov 2004

updated description

08 Nov 2004

simplified code

14 Dec 2004

rewritten to avoid the function nonzeros of Matlab 7

Contact us