Azzera filtri
Azzera filtri

zpk function for atlab R2020b

4 visualizzazioni (ultimi 30 giorni)
Orr Streicher
Orr Streicher il 18 Nov 2021
Risposto: Anshika Chourasia il 28 Dic 2021
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

Risposte (1)

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

Categorie

Scopri di più su Electrical Block Libraries in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by