Unrecognized function or variable

1 visualización (últimos 30 días)
Aysel Alimirzayeva
Aysel Alimirzayeva el 13 de Oct. de 2022
Comentada: Aysel Alimirzayeva el 14 de Oct. de 2022
Hello. I wrote an example of the diskmarginplot function in Matlab 2019Rb version, but it gives an error. Please help me.
  1 comentario
DGM
DGM el 13 de Oct. de 2022
Where is diskmarginplot.m? Did you add it to the path or place it in a directory that's on the path?

Iniciar sesión para comentar.

Respuesta aceptada

Sam Chak
Sam Chak el 14 de Oct. de 2022
It requires Robust Control Toolbox, the function is introduced in R2020a. Since yours is R2019b, then I think ...
s = tf('s');
G = 0.38*(s^2 + 0.1*s + 0.55)/(s*(s + 1)*(s^2 + 0.06*s + 0.5))
G = 0.38 s^2 + 0.038 s + 0.209 --------------------------------- s^4 + 1.06 s^3 + 0.56 s^2 + 0.5 s Continuous-time transfer function.
diskmarginplot(G)

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by