What is the problem in this code plz help
显示 更早的评论
fs=8000;
dt=1/fs;
T=0.5;
t=0:dt:T-dt;
xt=cos(100*pi*t)-2*cos(50*pi*t);
rt=xt+cos(120*pi*t);
pa = bandstop(rt,[230 450],fs);
plot(t,pa);
11 个评论
Dipjyoti Das
2018-11-30
编辑:Dipjyoti Das
2018-11-30
KSSV
2018-11-30
Where is the function bandstop ?
Dipjyoti Das
2018-11-30
Preethi
2018-11-30
do you have signal processing toolbox installed?
Dipjyoti Das
2018-11-30
Dipjyoti Das
2018-11-30
Preethi
2018-11-30
try this function
d = designfilt();
Adam
2018-11-30
You should get used to always using the help that comes with your Matlab rather than the online help (or at least once you have used the online help first then refer to your local help) as the online help is always for the latest version of Matlab so if you are running an older one then you may well end up trying to use functions that don't exist in your version.
Dipjyoti Das
2018-11-30
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Signal Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!