Clear Filters
Clear Filters

Double integration in simulink

6 views (last 30 days)
mahmood hassan
mahmood hassan on 29 Jan 2018
Edited: Jesus Velazquez on 7 Feb 2018
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 Comments
mahmood hassan
mahmood hassan on 3 Feb 2018
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 on 7 Feb 2018
Edited: Jesus Velazquez on 7 Feb 2018
That one is a bit more complicated

Sign in to comment.

Answers (1)

Sean de Wolski
Sean de Wolski on 29 Jan 2018
integral2(@(x,y)10+zeros(size(x)), 0, 10, 0, 10)
  1 Comment
mahmood hassan
mahmood hassan on 30 Jan 2018
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

Sign in to comment.

Categories

Find more on Schedule Model Components in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!