simplify symbolic expression coefficients

7 visualizaciones (últimos 30 días)
Truman Cassady
Truman Cassady el 7 de Abr. de 2019
Editada: madhan ravi el 7 de Abr. de 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]

Respuestas (1)

madhan ravi
madhan ravi el 7 de Abr. de 2019
Editada: madhan ravi el 7 de Abr. de 2019
Use double() or vpa()
double([305894193331964780504589990431253575232652692213127/374144419156711147060143317175368453031918731001856, 1096917378336187883325285944915528934588090661323/730750818665451459101842416358141509827966271488, 4580206849048297763128404471551925/162259276829213363391578010288128, 1289643680263349707/144115188075855872, 1])

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by