Skip to content

Commit

Permalink
Merge pull request #2 from Sumalyo/master
Browse files Browse the repository at this point in the history
Change Message Signal
  • Loading branch information
Saptarshi-prog authored May 10, 2020
2 parents bd11d7d + f47582f commit 2f746bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions amplitude.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
plot(t2, carrier_wave, 'r');
title('carrier signal');

message_wave = (Ac/m)*sin(2*pi*fm*t1);
message_wave = (Ac*m)*sin(2*pi*fm*t1);
subplot(3,1,2)
plot(t1, message_wave, 'b');
title('Message Signal');
Expand All @@ -27,4 +27,4 @@
title('Amplitude Modulated Wave');
grid on;

end
end

0 comments on commit 2f746bf

Please sign in to comment.