Line 13: Line 13:
 
== Problem 7 ==
 
== Problem 7 ==
 
Adam has posted some [[Helpful Youtube videos]] which will be very helpful in working this problem. Nice find! - Landis
 
Adam has posted some [[Helpful Youtube videos]] which will be very helpful in working this problem. Nice find! - Landis
 +
 +
7. Convolution implementation Write a Matlab function that per-
 +
forms convolution of two discrete-time input signals. Note that the
 +
theoretical convolution defined in class has signals x[n] defined for
 +
n 2 (−1,1). Since this is not practically realizable, have your code
 +
assume that a finite-length input signal is such that it is zero outside of
 +
the specified range. For example, both signals x1[n] and x2[n] plotted
 +
below can be represented by a vector in Matlab as [2, 3, 1]. Compare
 +
your code’s functionality against the builtin Matlab function conv (type
 +
“help conv” on the command line for more information).
 +
 +
So, are you saying that our code cannot call the function conv, but can use for loops even though they are slow. Just clarifying-- Adam Frey
  
 
Back to [[Homework]]
 
Back to [[Homework]]

Revision as of 16:41, 29 June 2009

Problem 1

Problem 2

Problem 3

Problem 4

Problem 5

Problem 6

Add your Rhea contribution to the Course-Related_Material page

Problem 7

Adam has posted some Helpful Youtube videos which will be very helpful in working this problem. Nice find! - Landis

7. Convolution implementation Write a Matlab function that per- forms convolution of two discrete-time input signals. Note that the theoretical convolution defined in class has signals x[n] defined for n 2 (−1,1). Since this is not practically realizable, have your code assume that a finite-length input signal is such that it is zero outside of the specified range. For example, both signals x1[n] and x2[n] plotted below can be represented by a vector in Matlab as [2, 3, 1]. Compare your code’s functionality against the builtin Matlab function conv (type “help conv” on the command line for more information).

So, are you saying that our code cannot call the function conv, but can use for loops even though they are slow. Just clarifying-- Adam Frey

Back to Homework

Alumni Liaison

Basic linear algebra uncovers and clarifies very important geometry and algebra.

Dr. Paul Garrett