- #1
physmatics
- 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! :)