simplify symbolic expression coefficients

3 visualizzazioni (ultimi 30 giorni)
Truman Cassady
Truman Cassady il 7 Apr 2019
Modificato: madhan ravi il 7 Apr 2019
this is a row vector of the coefficients found in a polynomial equation. I'm using the symbolic engine. This is just unacceptable. How can I reduce this to something with a certain number of decimals?
[ 305894193331964780504589990431253575232652692213127/374144419156711147060143317175368453031918731001856, 1096917378336187883325285944915528934588090661323/730750818665451459101842416358141509827966271488, 4580206849048297763128404471551925/162259276829213363391578010288128, 1289643680263349707/144115188075855872, 1]

Risposte (1)

madhan ravi
madhan ravi il 7 Apr 2019
Modificato: madhan ravi il 7 Apr 2019
Use double() or vpa()
double([305894193331964780504589990431253575232652692213127/374144419156711147060143317175368453031918731001856, 1096917378336187883325285944915528934588090661323/730750818665451459101842416358141509827966271488, 4580206849048297763128404471551925/162259276829213363391578010288128, 1289643680263349707/144115188075855872, 1])

Categorie

Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by