draw the amplitude-frequency characteristic curve of a particular transfer function
31 views (last 30 days)
Show older comments
立达
on 5 Apr 2024 at 3:46
Commented: Mathieu NOE
on 16 Apr 2024 at 9:43
传递函数如下
2 Comments
Aquatris
on 5 Apr 2024 at 5:40
So what is your question actually? What did you try and is not working for you?
Accepted Answer
Mathieu NOE
on 5 Apr 2024 at 8:49
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 Comments
More Answers (0)
See Also
Categories
Find more on Axes Appearance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!