Split symbolic function by terms
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
In general i have a function that looks like
f = f1 + f2 + f3 +...+fn
and i want to address/modify/evaluate only f1 or f2 or f3. For example
f = 1/(x*y-1) + (x+2)/(y^2*(x-1)) + 1/(x^2*y^3-1)
and i want to get only 1/(x*y-) or one of the other two.
0 commentaires
Réponse acceptée
Walter Roberson
le 19 Jan 2014
http://www.mathworks.com/help/symbolic/children.html at the MATLAB level
http://www.mathworks.com/help/symbolic/mupad_ref/op.html at the MuPAD level
5 commentaires
Dyuman Joshi
le 6 Nov 2023
Déplacé(e) : Dyuman Joshi
le 6 Nov 2023
Yes, this has been provided in the answer above, ~9 years ago.
Why repeat it, after such a long time?
Walter Roberson
le 6 Nov 2023
Déplacé(e) : Dyuman Joshi
le 6 Nov 2023
The url for children() changed so it is valid to post the updated url
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!