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 249________----| gsys |---u | ---------- +|----- (_)----> y| ________ +|----| hsys |-----------sys = sysappend (syst, b, c, d, outname, inname, yd)appends new inputs and/or outputs to a systemInputsFunction Filesystbcdoutnameinnameydsystem data structurematrix to be appended to sys "B" matrix (empty if none)matrix to be appended to sys "C" matrix (empty if none)revised sys d matrix (can be passed as [] if the revised d is all zeros)list of names for new outputslist of names for new inputsbinary vector; yd(ii) = 0 indicates a continuous output; yd(ii) = 1 indicatesa discrete output.Outputssyssys.b := [syst.b , b]sys.c := [syst.c ][ c ]sys.d := [syst.d | D12 ][ D21 | D22 ]where D12, D21, and D22 are the appropriate dimensioned blocks of theinput parameter d.• The leading block D11 of d is ignored.• If inname and outname are not given as arguments, the new inputsand outputs are be assigned default names.• yd is a binary vector of length rows(c) that indicatescontinuous/sampled outputs. Default value for yd is:− sys is continuous or mixed yd = zeros(1,rows(c))− sys is discrete yd = ones(1,rows(c))clsys = sysconnect (sys, out idx, in idx, order, tol)Close the loop from specified outputs to respective specified inputsInputsFunction FilesysSystem data structure.

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

Saved successfully!

Ooh no, something went wrong!