Polynomial division - derived form covolution

版本 1.3.0.0 (1.3 KB) 作者: Feng Cheng Chang
Polynomial division is derived directly from convolution.
269.0 次下载
更新时间 2012/12/14

查看许可证

For the division of univariate polynomials, given the dividend b(x) of degree n and the divisor a(x) of degree m, such that b(x) = q(x)*a(x) + r(x), the quotient q(x) of degree n-m and the remainder r(x) of degree m-1 are then obtained.

This very short code is similar to the MATLAB built-in function 'deconv.m'.

The presented routine [q,r] = poly_div(b,a) can avoid the un-wanted data preceeding the remaider's coefficients applying the built-in routine [q,r] = deconv(b,a). See author's self comment.

引用格式

Feng Cheng Chang (2024). Polynomial division - derived form covolution (https://www.mathworks.com/matlabcentral/fileexchange/33214-polynomial-division-derived-form-covolution), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Polynomials 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.3.0.0

Shorten the m-file.

1.2.0.0

Update the m-file.

1.0.0.0