simplify symbolic expression coefficients
6 views (last 30 days)
Show older comments
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]
0 Comments
Answers (1)
madhan ravi
on 7 Apr 2019
Edited: madhan ravi
on 7 Apr 2019
Use double() or vpa()
double([305894193331964780504589990431253575232652692213127/374144419156711147060143317175368453031918731001856, 1096917378336187883325285944915528934588090661323/730750818665451459101842416358141509827966271488, 4580206849048297763128404471551925/162259276829213363391578010288128, 1289643680263349707/144115188075855872, 1])
0 Comments
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!