i am a beginner please help me to debug small error
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MOHAMED IHSAN
el 8 de En. de 2015
Comentada: Image Analyst
el 8 de En. de 2015
Nbp=[2827.4 0];
Dbp=[1 942.4 4712^2];
Wbp=[0:50:10000];
hbp=freqs(Nbp,Dbp,Wbp);
hbp_mag=abs(hbp);
hbp_phase=angle(hbp);
fbp=Wbp/(2*pi);
hbp_phase=hbp_phase*180/pi;
figure
plot(fbp,hbp_mag)
4 comentarios
Image Analyst
el 8 de En. de 2015
MOHAMED, did you read my comment? I think you did not. If you don't want to, then at least read this: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer so people can answer your question. Make it EASY for people to help you, not HARD!
Respuesta aceptada
Aditya Jain
el 8 de En. de 2015
Nbp=[2827.4 0];
Dbp=[1 942.4 4712^2];
Wbp=[0:50:10000];
hbp=freqs(Nbp,Dbp,Wbp);
hbp_mag=abs(hbp);
hbp_phase=angle(hbp);
fbp=Wbp/(2*pi);
hbp_phase=hbp_phase*180/pi;
figure;
plot(fbp,hbp_mag)
The above code works fine for me
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!