Do source blocks in Simulink have an implicit unit step function built into them?
Show older comments
I'm trying to understand some confusing behavior in Simulink and I'm not sure if the problem is my understanding of how Simulink works or if its about my understanding of linear systems more fundamentally.
I'm trying to set up a basic simulation that shows linearity by comparing results from two systems. The first system has numerator dynamics (a single s in the numerator) applied to a cosine input, and the second has no numerator dynamics (unity in the numerator) but the input to the system has already been differentiated analytically. I expect that both systems should output identical results.
However, what I am finding is that the system with numerator dynamics also includes a unit impulse response. The minimal example in the screen grab below shows my source of confusion. The only explanation I can come up with is that there is a hidden step function in the cosine source block, so that when differentiated we see something like:
.
Accepted Answer
More Answers (1)
Fangjun Jiang
on 15 Feb 2024
1 vote
The answer is no.
Maybe this will help
s/(s+1)=(s+1-1)/(s+1)=1-1/(s+1)
3 Comments
Charles Refvem
on 15 Feb 2024
Fangjun Jiang
on 15 Feb 2024
That is true. The difference could be explained by setting different initial value.
Charles Refvem
on 15 Feb 2024
Categories
Find more on General Applications 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!

