CONVOLUTION
The Two Discrete Sinus Signal Convolution. Here we try to generate two discrete sinus signals and perform the operation. Convolution for both.
L=input('Banyaknya titik sampel(>=20): ');
f1=input('Besarnya frekuensi gel 1 adalah Hz: ');
f2=input('Besarnya frekuensi gel 2 adalah Hz: ');
teta1=input('Besarnya fase gel 1(dalam radiant): ');
teta2=input('Besarnya fase gel 2(dalam radiant): ');
A1=input('Besarnya amplitudo gel 1: ');
A2=input('Besarnya amplitudo gel 2: ');
%Sinus pertama
t=1:L;
t=2*t/L;
y1=A1*sin(2*pi*f1*t + teta1*pi);
subplot(3,1,1)
stem(y1)
%Sinus kedua
t=1:L;
t=2*t/L;
y2=A2*sin(2*pi*f2*t + teta2*pi);
subplot(3,1,2)
stem(y2)
Cite As
eko mulyono (2026). CONVOLUTION (https://www.mathworks.com/matlabcentral/fileexchange/63951-convolution), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Digital and Analog Filters > Multirate Signal Processing >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
