draw the amplitude-frequency characteristic curve of a particular transfer function
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
立达
el 5 de Abr. de 2024
Comentada: Mathieu NOE
el 16 de Abr. de 2024
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1660581/image.png)
传递函数如下
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1660586/image.png)
2 comentarios
Aquatris
el 5 de Abr. de 2024
So what is your question actually? What did you try and is not working for you?
Respuesta aceptada
Mathieu NOE
el 5 de Abr. de 2024
Simply used your info and coded in matlab
you have now here the right half of the plot , if you need both negative and positive frequency plot (as in your picture), simply mirror the data
Ts = 1;
f = linspace(0,16/(2*Ts),500); % normalized freq vector
s = 1i*(2*pi*f); % s = j*omega
G = (1-exp(-s*Ts))./(s*Ts);
plot(f,abs(G));
xlabel('Normalized Frequency (k/Ts)');
ylabel('|G|');
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Axes Appearance en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!