Double integration in simulink

6 次查看(过去 30 天)
Kindly guide me When I am doing double integral of constant 10 with time 10 sec it gives the result of 500 but when I am solving it by hand it gives the result of 1000. I am solving it as ---> integral_0^10 integral_0^10 10 dx dy = 1000 Images of solution and simulink is attached
  7 个评论
mahmood hassan
mahmood hassan 2018-2-3
Hi, May you guide me when I am doing a double integration of step function having properties (initial value =10, final value =5, step time =5) over total time = 10s.
why it does not gives the result of
result = 5 int_0^5 x dt + 10 int_5^10 x dt
result = 5x^2/2 + 10x^2/2
result = 62.5+375=437.5
But result in simulink is 312.5.
I will be thankful to you.
<<
>>
Jesus Velazquez
Jesus Velazquez 2018-2-7
编辑:Jesus Velazquez 2018-2-7
That one is a bit more complicated

请先登录,再进行评论。

回答(1 个)

Sean de Wolski
Sean de Wolski 2018-1-29
integral2(@(x,y)10+zeros(size(x)), 0, 10, 0, 10)
  1 个评论
mahmood hassan
mahmood hassan 2018-1-30
I want to do double integral by simulink not by coding. kindly explain about the difference in Answer of double integral by simulink and by hand as shown in pix

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Schedule Model Components 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by