Polynomial division by convolution - quotient and reminder
by Feng Cheng Chang
12 Apr 2008
(Updated 07 Jul 2011)
Division of two polynomials to get quotient and reminder using convolution matrix.
|
Watch this File
|
| File Information |
| Description |
Polynomial division by convolution matrix approach.
Given b(x) and a(x), and find q(x) and r(x) in
b(x) = a(x)*q(x) + r(x)
where
b(x) = b(0)+ ... +b(k)*x^k + ... +b(n)*x^n
a(x) = a(0)+ ... +a(k)*x^k + ... +a(m)*x^m
q(x) = q(0)+ ...+ q(k)*x^k + ... +q(n-m)*x^(n-m)
r(x) = r(0)+ ...+ r(k)*x^k + ... +r(m-1)*x^(m-1)
If coefficients of b(x) and a(x) are all integers, then the entire process may involve mostly integer arithmetric operations. The roundoff errors may thus be eliminated.
This code is similar to the MATLAB's built-in function: 'deconv.m'. |
| Acknowledgements |
Calculates Inverse Z Transform By Long Division
inspired this file.
This file inspired
Polynomial Division Derived Form Covolution.
|
| MATLAB release |
MATLAB 6.5 (R13)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 24 Mar 2009 |
Correct typo in Description, and update the M-file. |
| 30 Mar 2009 |
Update the m-file, to include any polynomials with both leading and trailing zero coefficients. |
| 07 Jul 2011 |
update the m file |
|
Contact us