MATLAB: Filter

doit4mehomeworkno attemptwn

in butter(1,wn) i know wn is normal frequency =(cut off/nyq.freq) in amplitude modulation what will be wn=? if carrier freq=fc and i calulat 0:.001:1 sample and message freq fm

Best Answer

Code:
dt = 0.001; % sampling time (seconds per sample)
Fs = 1/dt; % sampling rate (samples per second)
Fnyq = Fs/2; % Nyquist frequency (hertz)
Fco = fm + bw; % Cut-off frequency (hertz)
wn = Fco/Fnyq; % Normalized cut-off (dimensionless)
Explanation:
  • dt is the sampling time (in seconds per sample)
  • Fs is the sampling rate (in samples per second)
  • Fnyq is the Nyquist frequency (in hertz)
  • Fco is the cutoff frequency (in hertz)
  • bw = bandwidth (in hertz)
  • Fc is not needed to compute wn
You should make sure that the following conditions are true:
bw << fm << fc
and
bw << fm << Fs
HTH.
Rick
Related Question