Unrecognized function or variable
1 次查看(过去 30 天)
显示 更早的评论
Hello. I wrote an example of the diskmarginplot function in Matlab 2019Rb version, but it gives an error. Please help me.
1 个评论
DGM
2022-10-13
Where is diskmarginplot.m? Did you add it to the path or place it in a directory that's on the path?
采纳的回答
Sam Chak
2022-10-14
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))
diskmarginplot(G)
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!