INPUT DATA
Amplifikasi : Nilai A1 > A2
Atenuasi : Nilai A1 < A2
Nilai A1 = 5
Nilai A2 Amplifikasi = 6, 7, 8
Nilai A2 Atenuasi = 4, 3, 2
Nilai F1 = 2 ; F2 = 3, 4, 5
Nilai Phase1 = 0 ; Nilai Phase2 = 0 ,0.25 , 0.5 , 1
clear all
clc
%%Penggambaran getaran
%Parameter Getaran
A1=5; %Amplitudo
A2=;
f1=2;%Frekuensi
f2=;
phase1=0;
phase2=0*pi;
t=0:0.01:2; %Waktu
%%visualisasi
subplot(2,1,1)
plot (t,y1)
title ('y1')
xlabel('t')
ylabel('A')
grid on
subplot(2,1,2)
plot (t,y2)
title ('y2')
xlabel('t')
ylabel('A')
grid on
hold on
Forward Modeling
OUTPUT
Hasil Getaran
FINISH
START
INPUT DATA
Nilai A1 = 5
Nilai A2 = 6, 7, 8
Nilai F1 = 2
Nilai F2 = 3, 4, 5
Nilai Phase1 = 0
Nilai Phase2 = 0 ,0.25 , 0.5 , 1
clear all
clc
%% Buatlah variasi parameter dari simulasi penjumlahan getaran (3 variasi)
%Analisislah hasil penjumlahan getaran tersebut
%% Penjumlahan Getaran
%Parameter Getaran
A1=5; %Amplitudo
A2=;
f1=2; %Frekuensi
f2=;
phase1=0;
phase2=0*pi;
t=0:0.01:2; %Waktu
%Persamaan Getaran
%Penjumlahan Getaran
y3=y1+y2; %Getaran Ketiga
%%Visualisasi
subplot (3,1,1)
plot (t,y1)
title ('y1')
xlabel('t')
ylabel('A')
subplot (3,1,2)
plot (t,y2)
title ('y2')
xlabel('t')
ylabel('A')
subplot (3,1,3)
plot (t,y3)
title ('y3')
xlabel('t')
ylabel('A')
Forward Modeling
OUTPUT
Hasil Getaran
FINISH