Simplifying the built-in function [q,r]=deconv(b,a)

Create an efficient function [q,r]=deconc_e(b,a) to eliminate the undesired data that resulted from running the existing built-in function
25 Descargas
Actualizado 13 oct 2018

Ver licencia

In the polynomial division, such as b(x)/a(x)=q(x)+r(x)/b(x) or
b(x)=a(x)q(x)+r(x)
where we denote length of b,a,q,r as Lb,La,Lq,Lr, respectively.

Then using the built-in function,
[q,r]=deconv(b,a)
We get our desired answers: q,r,

However, it is Lr=Lb instead of Lr=La-1 for La<Lb.
The unwanted data ahead the desired r should be completely eliminated, even they are very very small..

The presented function
[q,r]=deconv_e(b,a)
will resolve this problem,

Citar como

Feng Cheng Chang (2025). Simplifying the built-in function [q,r]=deconv(b,a) (https://la.mathworks.com/matlabcentral/fileexchange/69103-simplifying-the-built-in-function-q-r-deconv-b-a), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2018b
Compatible con cualquier versión desde R2012a
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Data Preprocessing en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0