No BSD License
-
my_ammod(m, K, A, fc, fs)
here i want to show the method of generating AM signal, here m is the
-
my_fmdemod(s, fc, fs)
now i am going to make a function to demodulate the FM signal, here s is
-
my_fmmod(m, A , B , C , fc , ...
here i am going to show the generation of FM signal by the my_fmmod
-
test_am()
this m file demonstrate the testing of AM modulation demod signal, now i
-
test_file_am()
this is the test file for modulating and demodulatin the music signal of
-
test_file_fm()
by this file i have to take a music file of duration 20 sec, and perform
-
test_fm()
now i am going to test the my_fmmod file by making modulating, and carrier
-
tfplot(s, fs, name, plottitle)
TFPLOT Time and frequency plot
-
View all files
from
AM, FM Familiarization
by Santosh Shah
keep all files in a folder and run any of the test files.
|
| my_fmdemod(s, fc, fs)
|
function v_fmd = my_fmdemod(s, fc, fs)
% now i am going to make a function to demodulate the FM signal, here s is
% the frequency modulated signal, fc and fs are plays same role. the basic
% principle is to make AM from FM, and then demodulate by the same way as
% AM demodulator
%santosh shah, The LNM IIT Jaipur (India)(santosh.jnt@gmail.com) 22/04/07
% taking the derivatives of the FM signal
s_derv = diff(s);
% now call the function of AM demodulater
v_fmd = my_amdemod(s_derv, fc, fs);
end
|
|
Contact us at files@mathworks.com