Convert factor of polynomial equation to equation


(ايجيبت) #1

[CENTER]http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=17659&objectType=FILE

FAC2PEQU is used to convert any number of factors of polynomial equation to visible equation.
a:factor of the polynomial equation
b:symbol of the output equation
FAC2PEQU(A,B) convert factors to equation.
NOTE:this function is part of the function PRINTSYS

Ex1:
>>fac2pequ([1 2 3 45 6])

equ=

x^4 + 2 x^3 + 3 x^2 + 45 x + 6

EX:2
>>fac2pequ([1 2 3 45 6],‘s’)

equ=

s^4 + 2 s^3 + 3 s^2 + 45 s + 6
[/center]


(المهندس سعود) #2

الله يجزيك الخير