File Exchange

image thumbnail

AM, FM Familiarization (missing part)

version 1.0.0.0 (517 Bytes) by Santosh Shah
Basic familiarization about AM and FM

1 Download

Updated 05 Dec 2007

No License

Basic familiarization about AM and FM,
i have taken my speech to check whether AM or FM properly recover the signal or not, after modulation and demodulation.

Cite As

Santosh Shah (2021). AM, FM Familiarization (missing part) (https://www.mathworks.com/matlabcentral/fileexchange/17895-am-fm-familiarization-missing-part), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Duane Hanselman

Here is what is in the file. Is this of any value to anyone except the author?

function s_demod = my_amdemod(s, fc, fs)
% here is the function for demodulating the original signal from the
% modulated signal, s is the modulated signal fc and fs are the same.

% butterworth filter parameter
N = 8 ; % filter order
fcut = fc /2;
% absolute value of the modulated signal
s_abs = abs(s);
% filtering with butterworth
[b, a] = butter(N, 2*fcut / fs, 'low');
s_filt = filter(b, a, s_abs);
% remove the means
s_rmvmn = (s_filt - mean(s_filt));
%biasing the signal aroung -1 and 1 V
s_demod = s_rmvmn / max(abs(s_rmvmn));
end

Dimitri Shvorob

If the code (7 lines) belongs to another submission, why not put it there?

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!