12.07.2015 Views

GNU Octave - Local Sector 7 web page

GNU Octave - Local Sector 7 web page

GNU Octave - Local Sector 7 web page

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 29: Control Theory 241[zer, pol, k, tsam, inname, outname] = sys2zp (sys)Function FileExtract zero/pole/leading coefficient information from a system data structure.See zp for parameter descriptions.Exampleoctave:1> sys=ss([1 -2; -1.1,-2.1],[0;1],[1 1]);octave:2> [zer,pol,k] = sys2zp(sys)zer = 3.0000pol =-2.69531.5953k = 129.2.5 Data structure access functionssyschnames (sys, opt, list, names)Superseded by syssetsignals.Function Filesyschtsam (sys, tsam)Function FileThis function changes the sampling time (tsam) of the system. Exits with an error ifsys is purely continuous time.[n, nz, m, p, yd] = sysdimensions (sys, opt)return the number of states, inputs, and/or outputs in the system sys.InputssysoptOutputsnnzmpsystem data structureString indicating which dimensions are desired. Values:"all""cst""dst""in""out"Function File(default) return all parameters as specified under Outputsbelow.return n= number of continuous statesreturn n= number of discrete statesreturn n= number of inputsreturn n= number of outputsnumber of continuous states (or individual requested dimension as specifiedby opt).number of discrete statesnumber of system inputsnumber of system outputsyd binary vector; yd(ii) is nonzero if output ii is discrete. yd(ii) = 0 ifoutput ii is continous

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!