View Full Version : Convolution in matlab
1. The problem statement, all variables and given/known data
Sketch this function in matlab
g = 3cos (10pi t) convolved with delta(t+1/10)
2. Relevant equations
3. The attempt at a solution
I just need the full code to do it as an example so that I can follow up easily. thanks
MATLABdude
Mar28-09, 06:22 AM
The "Similar Threads" section at the bottom of pages on this website frequently contain helpful information. For instance, this one:
http://www.physicsforums.com/showthread.php?t=298691
There's also this page, which might be of some interest to you:
http://www.eece.unm.edu/signals/signals/Discrete_Convolution/discrete_convolution.html
Believe me, I've gone throught those two pages before I post this. I have the second link even bookmarked. It still didnt help me. Can some1 just show me how the code should be written?
MATLABdude
Mar29-09, 06:52 AM
Believe me, I've gone throught those two pages before I post this. I have the second link even bookmarked. It still didnt help me. Can some1 just show me how the code should be written?
Well, there's sample code at the bottom of that second link. The first part (of the snippet) is establishing the functions, the stuff in the middle is the actual convolution (note how short it is), and the last bit is displaying the results.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.