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
24 download
Aggiornato 13 ott 2018

Visualizza la licenza

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,

Cita come

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

Compatibilità della release di MATLAB
Creato con R2018b
Compatibile con R2012a e release successive
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Preprocessing Data in Help Center e MATLAB Answers
Tag Aggiungi tag

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