5. Simulate BFSK or FSK technique.

 

Simulate BFSK or FSK technique.

// BFSK or FSK --> Binary Frequency Shift Keying.

t=[0:0.01:4.4*%pi];
A=5;
wc=5;

Vm=A.*squarewave(t);
Vc=A.*cos(wc.*t);
fc=wc/(2*%pi);


subplot(5,1,1);
plot(t,Vm, 'black');

subplot(5,1,2);
plot(t,Vc, 'black');

df=0.5;
subplot(5,1,3);
Vf=A.*cos(2.*%pi.*(fc+Vm.*df).*t);
plot(t,Vf, 'black');
legend('df=0.5');


df=1;
subplot(5,1,4);
Vf=A.*cos(2.*%pi.*(fc+Vm.*df).*t);
plot(t,Vf, 'black');
legend('df=1');


df=1.5
subplot(5,1,5);
Vf=A.*cos(2.*%pi.*(fc+Vm.*df).*t);
plot(t,Vf, 'black');
legend('df=1.5');
// Output
Simulate BFSK or FSK technique.
                              BFSK or FSK --> Binary Frequency Shift Keying

Comments

Popular posts from this blog

7. Create a sin wave and analyze the effect of adding noise to it.

3. Program to generate FM Signal and Analyze the effect of increasing modulation index for each modulation technique.

4. Simulate BASK or ASK technique using Scilab.