Do source blocks in Simulink have an implicit unit step function built into them?
Afficher commentaires plus anciens
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:
.
Réponse acceptée
Plus de réponses (1)
Fangjun Jiang
le 15 Fév 2024
1 vote
The answer is no.
Maybe this will help
s/(s+1)=(s+1-1)/(s+1)=1-1/(s+1)
3 commentaires
Charles Refvem
le 15 Fév 2024
Fangjun Jiang
le 15 Fév 2024
That is true. The difference could be explained by setting different initial value.
Charles Refvem
le 15 Fév 2024
Catégories
En savoir plus sur General Applications dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


