How do I compute double integrals in Simulink?
2 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/971830/image.png)
function Fx = ExFx_fun(x,y)
coder.extrinsic("integral2")
Fx_fun=@(x,y) x^2+y^2;
Fx=integral2(Fx_fun,0,x,0,y);
end
.....................................
function Fx = Fx_fcn(x,y)
Fx=ExFx_fun(x,y);
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/971835/image.png)
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!