How to simplify unit fractions?

5 Ansichten (letzte 30 Tage)
Johannes Kalliauer
Johannes Kalliauer am 27 Jul. 2020
Beantwortet: madhan ravi am 27 Jul. 2020
u1 = symunit;
u2 = symunit;
x=2*u1.meter;
y=5*u2.millimeter;
frac=x/y
double(frac)
Results in
frac =
(2/5)*([m]/[mm])
Error using symengine
Unable to convert expression into double array.
Error in sym/double (line 700)
Xstr = mupadmex('symobj::double', S.s, 0);
But should result in
frac =
400

Akzeptierte Antwort

madhan ravi
madhan ravi am 27 Jul. 2020
simplify(frac)

Weitere Antworten (0)

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by