| Contents | Index |
isempty(sys)
isempty(sys) returns TRUE (logical 1) if the dynamic system model sys has no input or no output, and FALSE (logical 0) otherwise. Where sys is a FRD model, isempty(sys) returns TRUE when the frequency vector is empty. Where sys is a model array, isempty(sys) returns TRUE when the array has empty dimensions or when the LTI models in the array are empty.
Both commands
isempty(tf) % tf by itself returns an empty transfer function isempty(ss(1,2,[],[]))
return TRUE (logical 1) while
isempty(ss(1,2,3,4))
returns FALSE (logical 0).

Learn more about resources for designing, testing, and implementing control systems.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |