帮我看一下下面的matlab程序,运行时提示有错误,clear;close allf=[0,23/32,3/4,1];m=[0,0,1,1];N1=30;W1=[1,1];hn1=remez(N1,f,m,W1);k=[0:1023]*2/1024;Hw1=fft(hn1,1024);plot(k,20*log10(abs(Hw1)));axis
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/25 14:07:33
帮我看一下下面的matlab程序,运行时提示有错误,clear;close allf=[0,23/32,3/4,1];m=[0,0,1,1];N1=30;W1=[1,1];hn1=remez(N1,f,m,W1);k=[0:1023]*2/1024;Hw1=fft(hn1,1024);plot(k,20*log10(abs(Hw1)));axis
帮我看一下下面的matlab程序,运行时提示有错误,
clear;close all
f=[0,23/32,3/4,1];m=[0,0,1,1];
N1=30;W1=[1,1];hn1=remez(N1,f,m,W1);
k=[0:1023]*2/1024;
Hw1=fft(hn1,1024);
plot(k,20*log10(abs(Hw1)));
axis([0,1,- 40,5]),grid on,pause
N2=30;
W2=[1,5];
hn2=remez(N2,f,m,W2);
Hw2=fft(hn2,1024);
plot(k,20*log10(abs(Hw2)));
axis([0,1,- 40,5]),grid on,pause
N3=60;
W3=[1,1];
hn3=remez(N3,f,m,W3);
Hw3=fft(hn3,1024);
plot(k,20*log10(abs(Hw3)));
axis([0,1,- 40,5]),grid on,pause
帮我看一下下面的matlab程序,运行时提示有错误,clear;close allf=[0,23/32,3/4,1];m=[0,0,1,1];N1=30;W1=[1,1];hn1=remez(N1,f,m,W1);k=[0:1023]*2/1024;Hw1=fft(hn1,1024);plot(k,20*log10(abs(Hw1)));axis
clear;close all
f=[0,23/32,3/4,1];m=[0,0,1,1];
N1=30;W1=[1,1];hn1=remez(N1,f,m,W1);
k=[0:1023]*2/1024;
Hw1=fft(hn1,1024);
plot(k,20*log10(abs(Hw1)));
axis([0,1,- 40,5]),grid on,pause
N2=30;
W2=[1,5];
hn2=remez(N2,f,m,W2);
Hw2=fft(hn2,1024);
plot(k,20*log10(abs(Hw2)));
axis([0,1,- 40,5]),grid on,pause
N3=60;
W3=[1,1];
hn3=remez(N3,f,m,W3);
Hw3=fft(hn3,1024);
plot(k,20*log10(abs(Hw3)));
axis([0,1,- 40,5]),grid on,pause
帮你改了,试试看!