how to multipy two polynomial expression?
조회 수: 82 (최근 30일)
이전 댓글 표시
hi i have to multiply two polynomial equations example:a=1+x+x^2 b=1+X output should be 1+2x+2x^2+x^3 plz do reply...
댓글 수: 0
채택된 답변
Andrei Bobrov
2011년 11월 3일
syms x
a=1+x+x^2
b=1+x
out = expand(a*b)
or
coeffa = [1 1 1];
coeffb = [1 1];
out = conv(coeffa,coeffb);
댓글 수: 3
추가 답변 (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!