지정된 모델을 PID 제어기로 표현할 수 없어서 변환에 실패했습니다.란 에러 메시지가 떳습니다.
1 回表示 (過去 30 日間)
古いコメントを表示
sys = zpk([5.7184,-5.7184],[0,1.485,-0.7275+0.3625i,-0.7275-0.3625i],1)
C=pid(sys);
로 했는데 , 혹시 동적 시스템에 복소수 표현(-0.7275+0.3625i,-0.7275-0.3625i)이 있어서 에러 메시지가 뜬건가요?
그리고 복소수로도 pid제어를 구현하고 싶은데 표현할 수 있는 방법이 있나요?
0 件のコメント
回答 (1 件)
Shreshth
2025 年 3 月 4 日
Hello,
제 모국어는 한국어가 아니라서, 이 질문에 영어로 답변하려고 합니다. 이해해주셔서 감사합니다.
As per my understanding, you would like to represent complex numbers in a standard format. You can achieve this using the complex array in MATLAB. You can create a complex array using the “complex” function.
z = complex(a,b)
This statement will return a complex array z with “a” as real value and “b” as the imaginary value.
Please refer to the following MathWorks documentation for more information on:
• Complex Numbers: https://www.mathworks.com/help/matlab/complex-numbers.html
I hope this resolves the issue you were facing.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!