Convolution of two signal

How can I write the convolution code of the function below?

u(t)=sin(2*pi*f*t)
g(t)=exp(-t/tau)

Analytically or with con(,) ?

NOTE:-

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

Try This:

numPoints = 1000; % Whatever.
f = .10; % Whatever.
tau = 2; % Whatever.
t = linspace(0, 4*pi); % Whatever.
u = sin(2*pi*f*t);
g = exp(-t/tau);
out = conv(u, g, 'full');
% Plot u
subplot(3, 1, 1);
plot(t, u, 'b-', 'LineWidth', 2);
grid on;
xlabel('t', 'FontSize', 12);
ylabel('u', 'FontSize', 12);
% Plot g
subplot(3, 1, 2);
plot(t, g, 'b-', 'LineWidth', 2);

SEE COMPLETE ANSWER CLICK THE LINK

--

--

--

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Pioneers are gathering once more for HackCon4

Nodejs with Python Deployment using Heroku and Travis-CI

Java Basics Programming for Beginners and Developers

AWS Transfer Family — Cloud-based file transfer made easy

Try Hack Me, RP-Metasploit

Introduction to Microservices, Containers, Kubernetes, Amazon Elastic Kubernetes Service (EKS) and…

Vanilla Kubernetes Architecture

CS373 Fall 2021: Nathan Eisenberg: Final Entry

Amazon Web Services(AWS)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Technical Source

Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

More from Medium

how i can divide this following images in stages ?

Precipitation Rainfall-runoff modelling via using a hybrid CNN-LSTM-Network

What is Artificial Intelligence?