cross multiplication of algebra expression denominators
4 views (last 30 days)
Show older comments
David Johnson
on 1 Aug 2021
Answered: John D'Errico
on 1 Aug 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
0 Comments
Accepted Answer
John D'Errico
on 1 Aug 2021
syms x y a b k
eq = y/a == k+x/b
Symple enough. :)
eq = expand(eq*a*b)
0 Comments
More Answers (0)
See Also
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!