Convolution, discrete time (not using conv)

5 views (last 30 days)
umar
umar on 17 Dec 2011
Answered: sahiba tasneem on 24 Jul 2017
Write a MATLAB routine that generally computes the discrete convolution between two discrete signals in time-domain. (Do not use the standard MATLAB “conv” function.) • Apply your routine to compute the convolution rect( t / 4 )*rect( 2 t / 3 ).
  2 Comments
Friðrik Hover
Friðrik Hover on 21 Feb 2016
Running this code and and also the built in conv function to convolute two signals makes the x axis wrong. How do you fix that?

Sign in to comment.

Answers (2)

Naz
Naz on 17 Dec 2011
just implement the equation http://en.wikipedia.org/wiki/Convolution#Circular_discrete_convolution and use sum from 1 to N instead of 0 to N-1
  4 Comments

Sign in to comment.


sahiba tasneem
sahiba tasneem on 24 Jul 2017
Can u plz describe the code

Community Treasure Hunt

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

Start Hunting!

Translated by