- conv: https://www.mathworks.com/help/matlab/ref/conv.html
- stem: https://www.mathworks.com/help/matlab/ref/stem.html
Do you draw the results and graphs of the convolution?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
x[n]=2 delta [0]+ delta [1]- delta [2]+2 delta [3]
h[n]= delta [0]+ delta [1]
Do you draw the convolution results and graphs of the above expressions?
0 commentaires
Réponses (1)
Jaswanth
le 16 Oct 2024
Hi,
Assuming you have defined the discrete signals you want to convolve, use the “conv” function to compute their convolution. This function takes two input vectors and returns their convolution.
Next, use the “stem” function to plot the original signals and the convolution result. The “stem” function is suitable for discrete signals, as it creates a stem plot, which consists of a series of vertical lines from a baseline to the data points.
Kindly refer to the following MathWorks documentation to know more about the functions discussed above:
I hope the solution provided above is helpful.
0 commentaires
Voir également
Catégories
En savoir plus sur Measurements and Feature Extraction dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!