How Do I Plot the Convolution of Two Discrete Functions in Matlab?

AI Thread Summary
To plot the convolution of two discrete functions in MATLAB, first create vectors for each function over the desired range. The example functions discussed are rect1[n] and sin(2*pi*n/9). Utilize the MATLAB conv function to perform the convolution operation on these vectors. Finally, plot the resulting convolution using the plot function in MATLAB. This approach effectively visualizes the combined effect of the two discrete functions.
ELE 2009
Messages
1
Reaction score
0

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! :smile:


Homework Equations





The Attempt at a Solution

 
Physics news on Phys.org

Similar threads

Replies
2
Views
2K
Replies
1
Views
2K
Replies
10
Views
2K
Replies
6
Views
1K
Replies
1
Views
1K
Replies
1
Views
2K
Replies
3
Views
2K
Replies
1
Views
2K
Back
Top