- 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
filter
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
Rick Rosson
2012-1-6
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:
You should make sure that the following conditions are true:
bw << fm << fc
and
bw << fm << Fs
HTH.
Rick
更多回答(1 个)
Rick Rosson
2012-1-5
Please try:
dt = 0.001;
Fs = 1/dt;
Fnyq = Fs/2;
Fco = fm + bw;
wn = Fco/Fnyq;
HTH.
6 个评论
Rick Rosson
2012-1-6
The idea of bandwidth is that the message has a spectrum that extends across a range of frequencies centered at f = fm. You can assume that the range is [ fm-bw ... fm+bw ].
Rick Rosson
2012-1-6
You should also make sure that the following conditions are true:
bw << fm
and
fm << fc
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Waveform Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!