simplify symbolic expression coefficients

조회 수: 19 (최근 30일)
Truman Cassady
Truman Cassady 2019년 4월 7일
편집: madhan ravi 2019년 4월 7일
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]

답변 (1개)

madhan ravi
madhan ravi 2019년 4월 7일
편집: madhan ravi 2019년 4월 7일
Use double() or vpa()
double([305894193331964780504589990431253575232652692213127/374144419156711147060143317175368453031918731001856, 1096917378336187883325285944915528934588090661323/730750818665451459101842416358141509827966271488, 4580206849048297763128404471551925/162259276829213363391578010288128, 1289643680263349707/144115188075855872, 1])

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by