Is there a function in matlab where I can get the common factor I want in an equation?
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
savas yilmaz
le 15 Août 2021
Commenté : Bassem
le 18 Nov 2022
ax+3by+4cy+x-1=0
Is there a function in matlab where I can get the common factor I want in this equation?
For example, I want the x and y factors. Is there a common factoring function like the one below?
x(a+1)+y(3b+4c)-1=0
0 commentaires
Réponse acceptée
Walter Roberson
le 15 Août 2021
syms a b c x y
eqn = a*x+3*b*y+4*c*y+x-1 == 0
collect(eqn, [x, y])
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Number Theory dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!