Why my covolution is not what I expected?

1 Ansicht (letzte 30 Tage)
Geoffrey Lo
Geoffrey Lo am 17 Mai 2020
Beantwortet: Nikhil Sonavane am 21 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 Kommentare
Nikhil Sonavane
Nikhil Sonavane am 19 Mai 2020
Can you share the Simulink model as it would be easier to examine its settings
Geoffrey Lo
Geoffrey Lo am 19 Mai 2020
I've uploaded the matlab code and Simulink model

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by