Sketch g with Matlab: Convolution of 3cos(10pi t) & delta(t+1/10)

Click For Summary

Discussion Overview

The discussion revolves around the task of sketching the convolution of the function \( g = 3\cos(10\pi t) \) with the delta function \( \delta(t + \frac{1}{10}) \) using MATLAB. Participants are seeking assistance with MATLAB code to perform this convolution.

Discussion Character

  • Homework-related

Main Points Raised

  • One participant requests the full MATLAB code to perform the convolution, expressing a desire for a clear example to follow.
  • Another participant suggests that the "Similar Threads" section on the forum may contain helpful information and provides links to external resources related to convolution.
  • A later reply indicates that the original poster has already reviewed the suggested resources and is still seeking direct assistance with the coding task.
  • Another participant mentions that there is sample code available at the bottom of one of the provided links, highlighting the structure of the code for establishing functions, performing convolution, and displaying results.

Areas of Agreement / Disagreement

Participants generally agree on the need for MATLAB code to perform the convolution, but there is no consensus on the adequacy of the provided resources, as one participant expresses frustration with them.

Contextual Notes

Some participants express limitations in the resources they have reviewed, indicating that they did not find the information helpful for their specific needs.

Who May Find This Useful

Students or individuals looking for assistance with MATLAB coding, particularly in the context of signal processing and convolution operations.

O.J.
Messages
198
Reaction score
0

Homework Statement



Sketch this function in matlab

g = 3cos (10pi t) convolved with delta(t+1/10)



Homework Equations





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
 
Physics news on Phys.org
The "Similar Threads" section at the bottom of pages on this website frequently contain helpful information. For instance, this one:
https://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
 
Last edited by a moderator:
Believe me, I've gone through 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?
 
O.J. said:
Believe me, I've gone through 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.
 

Similar threads

Replies
4
Views
5K
  • · Replies 13 ·
Replies
13
Views
3K
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
1
Views
2K