Split symbolic function by terms

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.

 採用された回答

Walter Roberson
Walter Roberson 2014 年 1 月 19 日

1 投票

5 件のコメント

Skye
Skye 2014 年 1 月 20 日
ty, exactly what i was looking for
Yu-Chun
Yu-Chun 2023 年 11 月 5 日
編集済み: Dyuman Joshi 2023 年 11 月 6 日
Edit (by Dyuman Joshi)
The link mentioned in the answer no longer directs to the intended resource.
This is the updated link for the documentation page of the function children
Walter Roberson
Walter Roberson 2023 年 11 月 5 日
移動済み: Dyuman Joshi 2023 年 11 月 6 日
Right, this is the updated URL for the children that I mentioned a number of years ago.
Dyuman Joshi
Dyuman Joshi 2023 年 11 月 6 日
移動済み: Dyuman Joshi 2023 年 11 月 6 日
Yes, this has been provided in the answer above, ~9 years ago.
Why repeat it, after such a long time?
Walter Roberson
Walter Roberson 2023 年 11 月 6 日
移動済み: Dyuman Joshi 2023 年 11 月 6 日
The url for children() changed so it is valid to post the updated url

サインインしてコメントする。

その他の回答 (0 件)

質問済み:

2014 年 1 月 19 日

編集済み:

2023 年 11 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by