Use symbolic math in MATLAB and the ‘solve’ command to get the transfer function
조회 수: 25 (최근 30일)
이전 댓글 표시
This is a example problem but when I run it it gives an error
>> syms s F
>> H=solve('(2.45*s^2+0.98*s+9.8)*Th+s^2*Z=0',
... '(12*s^2+720*s+1200)*Z+3.5*s^2*Th=F','Z,Th');
>> h=collect(H.Th,s);
>> h=collect(h,F);
>> pretty(h)
댓글 수: 1
Walter Roberson
2020년 5월 7일
Which release are you using? Passing character vectors to solve() has not been permitted since R2018b or so.
답변 (1개)
Sai Sri Pathuri
2020년 5월 7일
You may refer the following documentation to get transfer function of Theta (using Symbolic Math and solve command)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!