MATLAB Answers

How to approximate polynomial?

6 views (last 30 days)
pravin behera
pravin behera on 15 Dec 2017
Commented: pravin behera on 15 Dec 2017
P =((8700286382685963*x1)/9007199254740992 - (4662469420320393*x2)/18014398509481984)^2 + ((2331234710160197*x1)/9007199254740992 - (8700286382685971*x2)/9007199254740992)^2
I have a polynomial P, i want to get an expression in which this expression is approximated to 2 digits after decimal.

  0 Comments

Sign in to comment.

Accepted Answer

Birdman
Birdman on 15 Dec 2017
P=vpa(P,3)

  5 Comments

Show 2 older comments
pravin behera
pravin behera on 15 Dec 2017
it works for polynomials, but for matrix polynomials it doesnt. Is there any simple way ?
Birdman
Birdman on 15 Dec 2017
I do not know. You may open a new question about it in forum.
pravin behera
pravin behera on 15 Dec 2017
thanks.. your answer helped a lot

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!

Translated by