Polynomial roots tracker

This package allows to see how the roots continuously change from a polynomial to another.
393 download
Aggiornato 10 feb 2011

Visualizza la licenza

(Comments in the files are in italian only, sorry.)

The main file is 'pertpoly.m' that define the funcion pertpoly(P1,P2,T).
This function plot in the complex plane the trajectories of the roots of the polynomial t*P1+(1-t)*P2, whit t ranging from 0 to 1. The input T only define how smooth the trajectories are.

'randpoly.m' contains the function randpoly(n,kP1,kP2), that writes in csv files the real and imaginary part of the coefficients of two polynomials of degree n. The coefficients are integer ranging from -kP1 to kP1 for the first polynomial and analogously for the second.

With [P1,P2]=readpoly in 'readpoly.m' the polynomials in the files prealP1.csv, pimgP1.csv, prealP2.csv and pimgP2.csv are read.

Last but not the least, polyrandpert(deg,thick1,thick2,N) contained in 'polyrandpert.m', is a function that first calls randpoly(deg,thick1,thick2), then calls readpoly allocating P1 and P2, and finally runs pertpoly(P1,P2,N).

Have an nice trip studying how the roots change from a specified polynomial to another.

Cita come

Emanuele Natale (2025). Polynomial roots tracker (https://it.mathworks.com/matlabcentral/fileexchange/30364-polynomial-roots-tracker), MATLAB Central File Exchange. Recuperato .

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

Ispirato da: Trajectories of eigenvalues

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