cross multiplication of algebra expression denominators

3 次查看(过去 30 天)
How do I get matlab to do the cross multiplcation and display my equation without fractions?
I would like to see the equation after cross multiplying by a and b. ( by = abk + ax )
eq = ( y/a == k+x/b )
eq = (sym)
y x
─ = k + ─
a b

采纳的回答

John D'Errico
John D'Errico 2021-8-1
syms x y a b k
eq = y/a == k+x/b
eq = 
Symple enough. :)
eq = expand(eq*a*b)
eq = 

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by