deconv result does not match with polynomial division.
1 回表示 (過去 30 日間)
古いコメントを表示
I wanted to divide x^2+5x+6 by x+1 and get the quotient and remainder and used deconv as below.
[q,r]=deconv([6 5 1], [1 1])
I expected the answer to be
q = [4 1] and r = 2. But what I got was
q = [6 -1] and r = [0 0 2]. What are the comments on this result?
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Polynomials についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!