Convolving a signal with its impulse response in MATLAB

  • Thread starter physmatics
  • Start date
  • #1
16
0

Homework Statement



We're supposed to convolve the signal

x[k] = u[k] - u[k-8]

with its impulse response

h[k] = sin(pi*k/4)*( u[k] - u[k-8] )

with the help of MATLAB.


Homework Equations


-

The Attempt at a Solution


The thing is that we don't know how to do this in MATLAB. We think it's something really easy, but we just can't figure it out. We've been trying to find information on Internet, but nothing comes up! Also, we're pretty sure that we're supposed to put

h[k] = sin(pi*k/4) * x[k]

- it's pretty obvious from the exercise :)

Can anyone help us? We will appreciate it! :)
 

Answers and Replies

  • #2
80
0


Did you look up the u[k] function, and implications of it?
 

Related Threads on Convolving a signal with its impulse response in MATLAB

Replies
3
Views
801
Replies
3
Views
3K
Replies
3
Views
2K
  • Last Post
Replies
3
Views
690
Replies
1
Views
794
Replies
1
Views
6K
  • Last Post
Replies
3
Views
3K
Replies
1
Views
609
Replies
1
Views
953
Top