How performing FRF for complex functions
조회 수: 4 (최근 30일)
이전 댓글 표시
Hello,
I'm tryiing to plot phase and magnitude plot for below complex transfor function by performing FRF for say -600 to 600 Hz
1257 s + 3.736e05
-------------------------------------------
s^2 + (1554 - 2e02i) s + (3.736e05 - 2e02i)
Please help
댓글 수: 0
채택된 답변
Star Strider
2023년 10월 5일
Try this —
s = tf('s');
H = (1257*s + 3.736e05) / (s^2 + (1554 - 2e02i)*s + (3.736e05 - 2e02i))
opts = bodeoptions;
opts.FreqUnits = 'Hz';
opts.FreqScale = 'linear';
figure
bodeplot(H, {0 600*2*pi}, opts) % Plot Transfer Function
grid
[mag,phase,wout] = bode(H, {0 600*2*pi}); % Return Numeric Values ('wout' Will Be In rad/sec, So Divide It By (2*pi) To Get Hz)
mag = squeeze(mag);
phase = squeeze(phase);
.
댓글 수: 5
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Plot Customization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

