大家帮忙看下这个matlab程序吧,我实在找不出问题.w=1000:100:25000;hmag=1/sqrt(1+((w.^2-10^8)./(10^4*w)));hphase=-atan((w.^2-10^8)./(10^4*w));figure(1);plot(w,hmag);figure(2);plot(w,hphase);运行结果是Error using ==> mldivideMatrix
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/06 07:15:49
大家帮忙看下这个matlab程序吧,我实在找不出问题.w=1000:100:25000;hmag=1/sqrt(1+((w.^2-10^8)./(10^4*w)));hphase=-atan((w.^2-10^8)./(10^4*w));figure(1);plot(w,hmag);figure(2);plot(w,hphase);运行结果是Error using ==> mldivideMatrix
大家帮忙看下这个matlab程序吧,我实在找不出问题.
w=1000:100:25000;
hmag=1/sqrt(1+((w.^2-10^8)./(10^4*w)));
hphase=-atan((w.^2-10^8)./(10^4*w));
figure(1);
plot(w,hmag);
figure(2);
plot(w,hphase);
运行结果是
Error using ==> mldivide
Matrix dimensions must agree.
Error in ==> oct10_frequency_response_2 at 2
hmag=1/sqrt(1+((w.^2-10^8)./(10^4*w)));
大家帮忙看下这个matlab程序吧,我实在找不出问题.w=1000:100:25000;hmag=1/sqrt(1+((w.^2-10^8)./(10^4*w)));hphase=-atan((w.^2-10^8)./(10^4*w));figure(1);plot(w,hmag);figure(2);plot(w,hphase);运行结果是Error using ==> mldivideMatrix
hmag=1./sqrt(1+((w.^2-10^8)./(10^4*w)));