draw the amplitude-frequency characteristic curve of a particular transfer function

조회 수: 9 (최근 30일)
传递函数如下
  댓글 수: 2
Aquatris
Aquatris 2024년 4월 5일
So what is your question actually? What did you try and is not working for you?
立达
立达 2024년 4월 5일
I do not know how to use the following transfer function to draw the above graph of amplitude frequency characteristics, what code should be used or how to achieve it, thank you

댓글을 달려면 로그인하십시오.

채택된 답변

Mathieu NOE
Mathieu NOE 2024년 4월 5일
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|');

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by