comparison scripts/control/base/bode.m @ 6046:34f96dd5441b

[project @ 2006-10-10 16:10:25 by jwe]
author jwe
date Tue, 10 Oct 2006 16:10:31 +0000
parents ddfe04062467
children f82f516c8a00
comparison
equal deleted inserted replaced
6045:421d8a903df7 6046:34f96dd5441b
107 107
108 function [mag_r, phase_r, w_r] = bode (sys, w, outputs, inputs, plot_style) 108 function [mag_r, phase_r, w_r] = bode (sys, w, outputs, inputs, plot_style)
109 109
110 ## check number of input arguments given 110 ## check number of input arguments given
111 if (nargin < 1 | nargin > 5) 111 if (nargin < 1 | nargin > 5)
112 usage("[mag,phase,w] = bode(sys[,w,outputs,inputs,plot_style])"); 112 print_usage ();
113 endif 113 endif
114 if(nargin < 2) 114 if(nargin < 2)
115 w = []; 115 w = [];
116 endif 116 endif
117 if(nargin < 3) 117 if(nargin < 3)