RADICAL

Real specified roots of real array.
1,8K download
Aggiornato 14 dic 2004

Nessuna licenza

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.

Cita come

Mukhtar Ullah (2024). RADICAL (https://www.mathworks.com/matlabcentral/fileexchange/6171-radical), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R14
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Logical in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0

rewritten to avoid the function nonzeros of Matlab 7