ELE 2009 Messages 1 Reaction score 0 Thread starter Mar 10, 2009 #1 Homework Statement I want to plot the convolution of 2 discrete funtions, for example: rect1 [n] and sin (2*pi*n/9), how can i do that? thanks! Homework Equations The Attempt at a Solution
Homework Statement I want to plot the convolution of 2 discrete funtions, for example: rect1 [n] and sin (2*pi*n/9), how can i do that? thanks! Homework Equations The Attempt at a Solution
MATLABdude Science Advisor Messages 1,664 Reaction score 6 Mar 11, 2009 #2 1) Make two vectors containing data points for your function over your range of interest. 2) Use the MATLAB conv function: http://www.mathworks.com/access/helpdesk/help/techdoc/ref/conv.html
1) Make two vectors containing data points for your function over your range of interest. 2) Use the MATLAB conv function: http://www.mathworks.com/access/helpdesk/help/techdoc/ref/conv.html