Use of integrator in Simulink

1 Ansicht (letzte 30 Tage)
Tan Edwin
Tan Edwin am 15 Feb. 2011
Beantwortet: Vineet Kumar am 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]http://img171.imageshack.us/img171/5214/83269046.th.png[/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?
  4 Kommentare
Kaustubha Govind
Kaustubha Govind am 15 Feb. 2011
What happens when you set continuous sample time for your S-function: [0 0]
James Allison
James Allison am 16 Feb. 2011
In the Diagnostics>Data Validity pane of configuration parameters, try setting 'Underspecified initialization detection' to 'Simplified'.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Vineet Kumar
Vineet Kumar am 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.

Kategorien

Mehr zu General Applications finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by