2. Program to generate PM Signal and analyze the effect of increasing modulation index for each modulation technique.

 

Program to generate PM Signal and analyze the effect of increasing modulation index for each modulation technique.

// PM --> Phase Modulation

Ac=10;
Am=1;
wm=2*%pi*25;
wc=2*%pi*400;
t=[1:0.0002:1.1];

m=Am*cos(wm*t);
c=Ac*cos(wc*t);


subplot(5,1,1);
mf=60;
Sam1=Ac*cos(wc.*t+(mf)*sin(wm.*t));
plot(t,Sam1,'red');
legend('m=60');

mf=80;
subplot(5,1,2);
Sam=Ac*cos(wc.*t+mf*sin(wm.*t));
plot(t,Sam ,'blue');
legend('m=80');
xlabel('Time');
ylabel('Amplitude');


subplot(5,1,3);
mf=90;
Sam=Ac*cos(wc.*t+mf*sin(wm.*t));
plot(t,Sam,'black');
legend('m=90');


subplot(5,1,4);
mf=100;
Sam=Ac*cos(wc.*t+mf*sin(wm.*t));
plot(t,Sam,'green');
legend('m=100');


subplot(5,1,5);
mf=150;
Sam=Ac*cos(wc.*t+mf*sin(wm.*t));
plot(t,Sam,'cyan');
legend('m=150');
// Output
                                        PM --> Phase Modulation

Comments

  1. Struggling with coding concepts, debugging, or complex programming tasks? Quality academic guidance can help you understand programming fundamentals, improve problem-solving skills, and approach coursework with confidence. Students seeking programming assignment help can receive support with coding logic, data structures, algorithms, and project development while strengthening their technical knowledge. Choose reliable assistance that focuses on clear explanations, original work, and timely guidance, helping you learn more effectively and complete your programming assignments with greater confidence.

    ReplyDelete

Post a Comment

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.