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

回答 (1 件)

Anshika Chourasia
Anshika Chourasia 2021 年 12 月 28 日

0 投票

Hi,
Function "zpk” is implemented in Control System Toolbox. Before moving forward, please check and verify the installation of CST toolbox.

カテゴリ

ヘルプ センター および File Exchange で Dynamic System Models についてさらに検索

タグ

質問済み:

2021 年 11 月 18 日

回答済み:

2021 年 12 月 28 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by