大家帮忙看下这个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/07/01 03:58:44
![大家帮忙看下这个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](/uploads/image/z/13744574-62-4.jpg?t=%E5%A4%A7%E5%AE%B6%E5%B8%AE%E5%BF%99%E7%9C%8B%E4%B8%8B%E8%BF%99%E4%B8%AAmatlab%E7%A8%8B%E5%BA%8F%E5%90%A7%2C%E6%88%91%E5%AE%9E%E5%9C%A8%E6%89%BE%E4%B8%8D%E5%87%BA%E9%97%AE%E9%A2%98.w%3D1000%3A100%3A25000%3Bhmag%3D1%2Fsqrt%281%2B%28%28w.%5E2-10%5E8%29.%2F%2810%5E4%2Aw%29%29%29%3Bhphase%3D-atan%28%28w.%5E2-10%5E8%29.%2F%2810%5E4%2Aw%29%29%3Bfigure%281%29%3Bplot%28w%2Chmag%29%3Bfigure%282%29%3Bplot%28w%2Chphase%29%3B%E8%BF%90%E8%A1%8C%E7%BB%93%E6%9E%9C%E6%98%AFError+using+%3D%3D%3E+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 ==> 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)));