Nov 7, 2017 #1 4 47box Newbie level 5 Joined Jan 8, 2014 Messages 8 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 101 Hi, How can I change a polynomial representation from x^2+ 6x + 10 to (x+3)^2 + 1 ? I used a <horner> function from MATLAB and the result was x*(x + 6) + 10. Anyway to have the above result " (x+3)^2 + 1 " using different function or arguments in matlab? Thanks.
Hi, How can I change a polynomial representation from x^2+ 6x + 10 to (x+3)^2 + 1 ? I used a <horner> function from MATLAB and the result was x*(x + 6) + 10. Anyway to have the above result " (x+3)^2 + 1 " using different function or arguments in matlab? Thanks.
Nov 7, 2017 #2 A albbg Advanced Member level 4 Joined Nov 7, 2009 Messages 1,306 Helped 448 Reputation 898 Reaction score 409 Trophy points 1,363 Location Italy Activity points 9,946 Did you try the <combine> function ?
Nov 7, 2017 #3 4 47box Newbie level 5 Joined Jan 8, 2014 Messages 8 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 101 Did not works for me. combine(x*(x + 6) + 10) -->> x*(x + 6) + 10