Find the polynomial expression given the following factors:
์กฐํ ์: 1(์ต๊ทผ 30์ผ)
ํ์ ์ด์ ๋๊ธ
Find the polynomial expression given the following factors:
- (๐ฅ + 3)(๐ฅ โ 2)(๐ฅ + 2)(๐ฅ + 4)
>> r = [-3 2 -2 -4];
>> p = poly(r)
p =
1 7 8 -28 -48
Is this correct? I don't know how I can make the given into a proper polynomial expression. Also the 'syms' doesnt work on my matlab version which is R2019a.
๋๊ธ ์: 0
์ฑํ๋ ๋ต๋ณ
Dyuman Joshi
2021๋
11์ 26์ผ
ํธ์ง: Dyuman Joshi
2021๋
11์ 26์ผ
It is correct.
syms x
expand((x+3)*(x-2)*(x+2)*(x+4))
You can also use sym2poly if you have the symbolic toolbox to convert syms variable into coefficients.
P.S - And syms should work in R2019a
๋๊ธ ์: 0
์ถ๊ฐ ๋ต๋ณ(0๊ฐ)
์ฐธ๊ณ ํญ๋ชฉ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!