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

Click For Summary
SUMMARY

This discussion focuses on plotting the convolution of two discrete functions in MATLAB, specifically using the functions rect1[n] and sin(2*pi*n/9). The solution involves creating two vectors that represent the data points of these functions over a specified range. The MATLAB conv function is then utilized to compute the convolution of these vectors, providing a visual representation of the result.

PREREQUISITES
  • Understanding of discrete functions and their representations
  • Familiarity with MATLAB programming environment
  • Knowledge of vector operations in MATLAB
  • Basic concepts of convolution in signal processing
NEXT STEPS
  • Explore the MATLAB conv function documentation for advanced usage
  • Learn about plotting functions in MATLAB using the plot function
  • Investigate the properties of convolution in discrete-time signals
  • Experiment with different discrete functions and their convolutions in MATLAB
USEFUL FOR

This discussion is beneficial for students, educators, and professionals in signal processing, particularly those using MATLAB for analyzing discrete functions and their convolutions.

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 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
6K