4. Simulate BASK or ASK technique using Scilab.

 

Simulate BASK or ASK technique using Scilab.

// BASK or ASK --> Binary Amplitude Shift Keying

t=[0:0.02:5*%pi];
wc=7;
A=0.5;

Vm=squarewave(t,30); 
// The second parameter in the squarewave function is the percent of the period in which the
// signal is positive.
Vc=A/2.*cos(wc.*t);
Va=(1+Vm).*(Vc);

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

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

subplot(3,1,3);
plot(t,Va, 'black');
// Output
Simulate BASK or ASK technique using Scilab.
                             BASK or ASK --> Binary Amplitude Shift Keying

Comments

Popular posts from this blog

Scilab 2025.0.0 Install File

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.