Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

19 строки
424B

  1. function bodePlot(magnitude,phase,frequency)
  2. %UNTITLED Summary of this function goes here
  3. % Detailed explanation goes here
  4. subplot(2,1,1)
  5. semilogx(frequency,magnitude)
  6. hold on
  7. ylabel('Magnitude [dB]','Fontsize',10);
  8. xlabel('Frequency [Hz]','Fontsize',10);
  9. grid on
  10. title('Bodeplot')
  11. subplot(2,1,2);
  12. semilogx(frequency,phase)
  13. hold on
  14. ylabel('Phase [rad]','Fontsize',10);
  15. xlabel('Frequency [Hz]','Fontsize',10);
  16. grid on
  17. end