Integrating array of functions
2 ビュー (過去 30 日間)
古いコメントを表示
Hi people,
I have an array of functions, something like func(x,y)=[func1(x,y) func2(x,y) ... funcN(x,y)]
Now I want to integrate func(x,y). I.e., I want to integrate each component of func(x,y). How can I do that?
All information I could find are about function of arrays, instead of array of functions.
Thanks in advance.
GQ
0 件のコメント
採用された回答
arun
2012 年 1 月 12 日
編集済み: Walter Roberson
2015 年 5 月 4 日
In this calculation i have assumed that you are doing double integration first w.r.t y then x. First define symbolic matrix. Then perform double integration.
>> syms x y
>> a=[x.^2+y x+y];
>> int(int(a,y, 0, sin(x)), 0, pi)
In this calculation y limit is from 0 to sin(x) and x limit is from 0 to pi.
その他の回答 (1 件)
Walter Roberson
2012 年 1 月 11 日
There is no routine provided for this, unless perhaps the Symbolic Toolkit could handle it.
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!