MATLAB Answers

Use of integrator in Simulink

9 views (last 30 days)
Tan Edwin
Tan Edwin on 15 Feb 2011
Answered: Vineet Kumar on 1 Sep 2016
Im trying to find the area under the graph (called it graph A) from simulink graph A looks something like this: <a><[IMG][/IMG][/URL]</a>> (Sry dunno how to show image. Graph A looks sthing like a normally distributed curve)
but when i use an integrator from simulink, the graph i obtained showed a negative valuefor the initial part. There is no negative value for graph A. So is there something wrong with my method?


Show 1 older comment
Tan Edwin
Tan Edwin on 15 Feb 2011
4) i want to use inherited time so that the output from the s-function appear as a continuous curve instead of a step shape graph
Kaustubha Govind
Kaustubha Govind on 15 Feb 2011
What happens when you set continuous sample time for your S-function: [0 0]
James Allison
James Allison on 16 Feb 2011
In the Diagnostics>Data Validity pane of configuration parameters, try setting 'Underspecified initialization detection' to 'Simplified'.

Sign in to comment.

Answers (1)

Vineet Kumar
Vineet Kumar on 1 Sep 2016
The Integrator block outputs the value of the integral of its input signal with respect to time.
The Integrator Limited block is identical to the Integrator block with the exception that the output of the block is limited based on the upper and lower saturation limits. See Limiting the Integral for details.
Simulink® treats the Integrator block as a dynamic system with one state.


Sign in to comment.


Community Treasure Hunt

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

Start Hunting!

Translated by