Why my covolution is not what I expected?

1 vue (au cours des 30 derniers jours)
Geoffrey Lo
Geoffrey Lo le 17 Mai 2020
I try to do a convultion of a rectangular function and a function which is the sum of 4 impulse function added together, and the simulink model is as the figure follow:
I was expected my convlution something like the figure below when I made this with Matlab by using rectpuls to create the rectangular function and impulse function :
But what i got from Simulink is as follow:
Why the simulink results are different to the Matlab results?
  2 commentaires
Nikhil Sonavane
Nikhil Sonavane le 19 Mai 2020
Can you share the Simulink model as it would be easier to examine its settings
Geoffrey Lo
Geoffrey Lo le 19 Mai 2020
I've uploaded the matlab code and Simulink model

Connectez-vous pour commenter.

Réponse acceptée

Nikhil Sonavane
Nikhil Sonavane le 21 Mai 2020
There are other similar MATLAB Answers which have the solution for your problem. You may refer to them for further details-

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by