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...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 29: Control Theory 243Examples (From sysrepdemo)octave> sys=ss(rand(4),rand(4,2),rand(3,4));octave># get all signal namesoctave> [Ast,Ain,Aout,Ayd] = sysgetsignals(sys)Ast =([1] = x_1[2] = x_2[3] = x_3[4] = x_4)Ain =([1] = u_1[2] = u_2)Aout =([1] = y_1[2] = y_2[3] = y_3)Ayd =0 0 0octave> # get only input signal names:octave> Ain = sysgetsignals(sys,"in")Ain =([1] = u_1[2] = u_2)octave> # get name of output 2 (in cell array):octave> Aout = sysgetsignals(sys,"out",2)Aout =([1] = y_2)octave> # get name of output 2 (as string):octave> Aout = sysgetsignals(sys,"out",2,1)Aout = y_2sysgettype (sys)return the initial system type of the systemInputFunction FilesysSystem data structure.Output

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

Saved successfully!

Ooh no, something went wrong!