multiply Polynomial with constants

hello
i want to multiply (2x+1)*(c1x+c2x^2)
how should i do?

Answers (1)

syms c1 c2 x
(2*x+1)*(c1*x + c2*x^2)
ans = 
collect(expand(ans),x)
ans = 

Categories

Asked:

on 17 Mar 2022

Commented:

on 17 Mar 2022

Community Treasure Hunt

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

Start Hunting!