I want to write this transfer function (0.7/s^2)*sin(0.05) in MATLAB code, but sine make it complicated. Kindly, how can I make that?
조회 수: 1 (최근 30일)
이전 댓글 표시
Can I write it as in this code?
%code
s=tf('s')
g=(0.7/s^2)*sin(0.05)
Thanks
댓글 수: 0
채택된 답변
Star Strider
2022년 1월 22일
Since the sin call creates a constant and is not itself a function of ‘s’, evaluate it first and then just multiply it as with any other constant —
s=tf('s');
m = sin(0.05)
g=(0.7/s^2)*m
figure
bode(g)
grid
.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Spectral Measurements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!