I want to find transfer function from given poles and zeros
24 次查看(过去 30 天)
显示 更早的评论
Hello everyone
I want to find transfer function from given poles and zeros and then find the bode plot. How to write MATLAB code for it ?![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/753459/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/753459/image.jpeg)
0 个评论
采纳的回答
Star Strider
2021-9-29
One approach —
K = 1; % Insert Correct Value
p1 = -3.02E4 + 2.52E4j;
p2 = conj(p1);
p3 = -1.16E5 + 1.13E6j;
p4 = conj(p3);
z1 = 2.35E5;
z2 = -3.33E5;
s = tf('s');
Gp = K*(s-z1)*(s-z2) / ((s+p1)*(s+p2)*(s+p3)*(s+p4))
figure
bodeplot(Gp)
figure
pzmap(Gp)
figure
stepplot(Gp)
The right-half-plane poles concern me. See the Step Response plot to understand the reason.
.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!