what should i do that matlab show me this polynomial equation as well-behaved function?

p=(1589159942548036497100838460028171539306640625*x^15)/52130638256800268132081172288531220051070714690086221222248448 - (439544955637378629252631778712157029076479375362396240234375*x^21)/501607549487405322851486732958020323308468731465913371447721814627897960713330622464 - (3337544858997404904898953503789016394875943660736083984375*x^20)/164569405999804895948650502938983045704878192738160554936916605849047887373139968 - (40400253357248026853110189904327853582799434661865234375*x^19)/215970349081108787334187011730948878877792903855853746636373498489564156657664 - (404029960234501051008493277549860067665576934814453125*x^18)/70856413740521255687069229570521285721060663994702672780962433887652282368 - (612750440989593858631678813253529369831085205078125*x^17)/30995806535661091726626959567157167856981917757962674007420137308684288 - (721487015939406006737044663168489933013916015625*x^16)/423717827751272579377555768361181756575102769001020806094435385344 - (118028659847569395162543426369694543609512038528919219970703125*x^22)/1528899810837611424051331562056045945444212693508103956172656090985832984254231737270272 - (9294357171181445664842613041400909423828125*x^14)/11402151849693846923027378015864221358501906100193836662784 + (1927729152675825389451347291469573974609375*x^13)/22445180806483950635880665385559490863192728543688654848 - (37442036956596406525932252407073974609375*x^12)/5522928348052153207647801522037276295076950921183232 - (107245144592590280808508396148681640625*x^11)/301997394359807152649158000986290261104382705664 + (6315955383260757662355899810791015625*x^10)/2377932239053599627158724417214883945703800832 + (64503518940096609294414520263671875*x^9)/390080747876246657998478414897454715502592 - (151808648384483516216278076171875*x^8)/511916991963578291336585846322119049216 - (634768724162544727325439453125*x^7)/20993971127115251449171007477121024 + (8699283474750156402587890625*x^6)/1763273165531989623027486192304128 + (15881087762530120849609375*x^5)/6026059320086906793483042816 + (590846253061834228515625*x^4)/1518377151517960766861869056 - (2509885541815291015625*x^3)/15567351044926599069696 + (26057067261689078125*x^2)/1743325401356609519616 + (277345177664117625*x)/35747322042253312

 Réponse acceptée

Mischa Kim
Mischa Kim le 26 Juin 2014
Modifié(e) : Mischa Kim le 26 Juin 2014
Ali, you could use something like
vpa (p,4)
where the integer parameter (here 4) defines the number of significant digits in the displayed result.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by