Simplifying a symbolic expression
17 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Star Strider
el 4 de Nov. de 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 comentarios
Ver también
Categorías
Más información sobre Assumptions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!