cross multiplication of algebra expression denominators

3 vues (au cours des 30 derniers jours)
David Johnson
David Johnson le 1 Août 2021
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

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Linear Algebra dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by