appends new inputs and/or outputs to a system
Inputs
- syst
- system data structure
- b
- matrix to be appended to sys "B" matrix (empty if none)
- c
- matrix to be appended to sys "C" matrix (empty if none)
- d
- revised sys d matrix (can be passed as [] if the revised d is all zeros)
- outname
- list of names for new outputs
- inname
- list of names for new inputs
- yd
- binary vector; yd(ii)=0 indicates a continuous output; yd(ii)=1 indicates a discrete output.
Outputs
- sys
sys.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 the input parameter d.
- The leading block D11 of d is ignored.
- If inname and outname are not given as arguments, the new inputs and outputs are be assigned default names.
- yd is a binary vector of length rows(c) that indicates continuous/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))