How do I compute double integrals in Simulink?
2 views (last 30 days)
Show older comments
![](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 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!