How do I compute double integrals in Simulink?

1 view (last 30 days)
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);

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!