zpk function for atlab R2020b
조회 수: 10 (최근 30일)
이전 댓글 표시
Hey,
I tried to use the function 'zpk' (https://www.mathworks.com/help/control/ref/zpk.html) but got the following error:
"Unrecognized function or variable 'zpk'"
I work with Matlab 2020b and tried to run the code from the reference:
zeros = 0;
poles = [1-1i 1+1i 2];
gain = -2;
sys = zpk(zeros,poles,gain)
Am i doing something wrong?
Thanks
댓글 수: 0
답변 (1개)
Anshika Chourasia
2021년 12월 28일
Hi,
Function "zpk” is implemented in Control System Toolbox. Before moving forward, please check and verify the installation of CST toolbox.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Pole and Zero Locations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!