Simplifying a symbolic expression
17 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi Everyone, I wanted to know how can I simplify this symbolic expression(with assumption : L>0):
(1.346491*q*(L^2)^(7/2))/(L^5*abs(L)) - 0.1559454*F
like this one:
1.346491*q*(L) - 0.1559454*F
(Before this I have expanded and simplified the expression, but it only works partially; the problem is about the fractions defined as symbolic and won't change, like (7/2))
0 Kommentare
Antworten (1)
Star Strider
am 4 Nov. 2016
Use the vpa function:
syms L F q
Eqn = (1.346491*q*(L^2)^(7/2))/(L^5*abs(L)) - 0.1559454*F;
Simplified_Eqn = vpa(simplify(Eqn, 'Steps',10))
Simplified_Eqn =
1.3464910000000001044639930114499*L*q - 0.15594540000000001178648290078854*F
0 Kommentare
Siehe auch
Kategorien
Mehr zu Assumptions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!