How do I compute double integrals in Simulink?
조회 수: 1 (최근 30일)
이전 댓글 표시
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);
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!