| |
| | Bode Step MATLAB Toolbox Function Listings |
 | | function [gain1,phase1] = bonyqas(u,g,lslope,hslope,nml); % function [gain1,phase1] = bonyqas(u,g,lslope,hslope,bnm); % BONYQAS Asymptotic Bode and Nyquist diagrams corresponding in minimum % phase manner to a piece-linear gain response in dB specified by the % gain g(h) at k corner frequencies u(h) in rad/sec. |
 | | % function [wd,wc,width,numc,denc,numl,denl] = bostep(x,y,n,bnc,zetaz,zetap,typ) % Defaults: [wd,wc,width,numc,denc,numl,denl] = bostep(10,0.1667,3,0.1,0.6,0.4,2), % x is gain stability margin in dB, default x = 10; % y is phase stability margin y*pi rad, default y = 0.1667; % n defines asymptotic slope -6n dB/oct, default n = 3; % bnc (0 to 1) is n.p. |
 | | % The function numc(s)/denc(s) is the normalized compensator obtained % with function bostep for the nominal plant (1/s)(-s+wc/bnc)/(s+wc/bnc). |
| www.luriecontrol.com /FunctionListings.htm (1690 words) |
|