2つの関数の積はどのようにして計算したらいいでしょうか
Show older comments
fx=sinx/xを0,Infで積分する計算を実行する際に、関数を変えて計算できるようにfx1=sinx, fx2=xとしてfx=fx1/fx2という計算式を間に入れたいです。
func1=@(x) sin(x);
func2=@(x) x;
と定義した関数を
func=func1 * func2
としてもエラーとなってしまうのですが、関数の積はどのように定義すればいいでしょうか。
Accepted Answer
More Answers (0)
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!