resid2wp.m

This file fixes (to a certain degree) the numerical problems with repeated roots in 'residue.m'.

You are now following this Submission

This file fixes (to a certain degree) the numerical problems with repeated roots in 'residue.m'. Also, it will recognize repetitions of complex roots regardless of whether or not they can be sorted by '[p,i] = sort(-abs(v));'

I have tested it on polynomials up to 9th degree on Matlab 5.0.

Cite As

Bradley Burchett (2026). resid2wp.m (https://www.mathworks.com/matlabcentral/fileexchange/26-resid2wp-m), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0