Single Side Band Suppressed Carrier (SSB - SC) - Modulation Scilab code using hilbert transform
Aim: Write scilab code to get the SSB-SC Amplitude Modulation using hilbert transform
Requirements: PC with Scilab software
Program:
Clf
F1=input(‘enter the baseband signal frequency’)
F2=input(‘enter the carrier signal frequency’)
Fs=input(‘enter the sampling frequency’)
T=input(‘enter the duration of signal’)
t=0:T/Fs:T
m=cos(2*%pi*F1*t) // use %pi=&pi for MATLAB
c=cos(2*%pi*F2*t)
dsb1=m.*c
m1=imag(hilbert(m))
c1=imag(hilbert(c))
dsb2=m1.*c1
su=dsb1-dsb2
sa=dsb1+dsb2
subplot(3,1,1)
plot(t,su)
subplot(3,1,2)
plot(t,sa)
-
UpdatedFeb 05, 2020
-
Views7,739
You May Like
MATLAB code for Pulse position modulation
DSB-SC Amplitude Modulation program scilab-code
Single Side Band Suppressed Carrier (SSB - SC) - Modulation Scilab code using hilbert transform
MATLAB code for Pulse width modulation
DSB-SC Demodulation program scilab
MATLAB code for Double side band suppressed carrier