Polynomials With Matlab

in #science8 years ago

We can find many roots of the polynomial by using the roots function (p), where p is a row of vectors containing the poynomial coefficient value in the desending state.

Example:
Find the root of the polynomial:
p_1 (x)=x^4-〖10x〗^1+〖35x〗^2-50x+24

Solution:
Find the root by following two commands. We denote a polynomial such as p1 and its roots with roots_p1.

Example 2
Find the root of the polynomial:
p_2 (x) = x ^ 5- 〖7x〗 ^ 4 + 〖16x〗 ^ 2 + 25x + 52

Solution :
There were no cubits; therefore, we have to enter zero as the coefficient. Find root with polynomial p2 and with polynomial roots _p2.


The final result shows that this polynomial has three real roots, and two complex roots. Of complex roots always occur in complex conjugate pairs.


FOLLOW ME : @ryal


Sort:  

Vote form the Matlab Colleague :) I am more in blind source separation of composite signals and images.

Coin Marketplace

STEEM 0.09
TRX 0.31
JST 0.030
BTC 110024.35
ETH 3720.20
USDT 1.00
SBD 0.62