Fs=10000;
N=10000;
n=0:N-1;
t=n/Fs;
fc = 300;
x = sin(2*pi*15*t);
ydouble = ammod(x,fc,fs);
figure (3)
plot(t,ydouble)
xlabel('t(s)');
ylabel('y1');
title('Amplitude Modulation Signal')
axis([0 0.5 -1.5 1.5])
Cite As
Akbar Syahbani (2026). ammod (https://www.mathworks.com/matlabcentral/fileexchange/107914-ammod), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
|
