partfrac() function returning same expression that was given as input
Mostra commenti meno recenti
I have the following expression:
(4*l^2*m5 - 2*dl^2*m5*cos(2*THETA1(t) - 4*THETA2(t) + 4*THETA3(t) - 4*THETA4(t) + 2*THETA5(t)))/(12*dl^2)
I want the denominator (i.e. 12*dl^2) to be divided across all the numerator terms so that the resulting expression is the sum of a bunch of terms.
partfrac((4*l^2*m5 - 2*dl^2*m5*cos(2*THETA1(t) - 4*THETA2(t) + 4*THETA3(t) - 4*THETA4(t) + 2*THETA5(t)))/(12*dl^2))
ans =
(- m5*cos(2*THETA1(t) - 4*THETA2(t) + 4*THETA3(t) - 4*THETA4(t) + 2*THETA5(t))*dl^2 + 2*m5*l^2)/(6*dl^2)
When I use the partfrac() function in MATLAB to do this, it gives me almost the same expression again.
Please help.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Modify Image Colors in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!