Why my covolution is not what I expected?

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 comentarios

Nikhil Sonavane
Nikhil Sonavane el 19 de Mayo de 2020
Can you share the Simulink model as it would be easier to examine its settings
Geoffrey Lo
Geoffrey Lo el 19 de Mayo de 2020
I've uploaded the matlab code and Simulink model

Iniciar sesión para comentar.

 Respuesta aceptada

Nikhil Sonavane
Nikhil Sonavane el 21 de Mayo de 2020

0 votos

There are other similar MATLAB Answers which have the solution for your problem. You may refer to them for further details-

Más respuestas (0)

Categorías

Más información sobre General Applications en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 17 de Mayo de 2020

Respondida:

el 21 de Mayo de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by