Control theory
Octave Controls toolbox demo: Block Diagram Manipulations demo.
Form an arbitrary complex (open or closed loop) system in state-space form from several systems.
Filter the output of sys1 through sys2 and subtract it from the input.
Creates a linearized state-space model of a Boeing 707-321 aircraft at V=80 m/s (M = 0.26, GA0 = -3 deg, ALPHA0 = 4 deg, KAPPA = 50 deg).
Creates a continuous 2nd order system with parameters:
Forms the parallel connection of two systems.
Redheffer star product or upper/lower LFT, respectively.
returns SYS = GSYS + HSYS.
appends new inputs and/or outputs to a system
Close the loop from specified outputs to respective specified inputs
Extract the purely continuous subsystem of an input system.
*Input*
Duplicate specified input/output connections of a system
Combines two systems into a single system.
Returns a minimal (or reduced order) system
Compute sys = Asys*Bsys (series connection):
Extract specified inputs/outputs from a system
*Inputs*
scale inputs/outputs of a system.
Return sys = Gsys - Hsys.
Creates a system with unity gain, no states.
Creates the System Sys2(s) from the system Sys1(s) when we have a negative feedback.
State space description of a first order weighting function.
append(sys)
filt
isct
isdt
issiso
kalman
kalmd
lft
norm(sys)
ssdata
tfdata
zero
zpk
zpkdata
Octave Controls toolbox demo: H-2/H-infinity options demos.
Demonstrate the functions available to design a discrete H-infinity controller.
Construct the linear quadratic estimator (Kalman predictor) for the discrete time system
Construct the linear quadratic estimator (Kalman filter) for the discrete time system
Construct the linear quadratic regulator for the discrete time system
Design H-2 optimal controller per procedure in Doyle, Glover, Khargonekar, Francis, `State-Space Solutions to Standard' `H-2 and H-infinity' `Control Problems', IEEE TAC August 1989.
H-infinity design demos for continuous SISO and MIMO systems and a discrete system.
*Inputs* input system is passed as either
Called by `hinfsyn' to see if gain G satisfies conditions in Theorem 3 of Doyle, Glover, Khargonekar, Francis, `State Space Solutions to Standard' `H-2 and H-infinity' `Control Problems', IEEE TAC August 1989.
Forms
Called by `hinfsyn' to compute the H-infinity optimal controller.
Construct the linear quadratic estimator (Kalman filter) for the continuous time system
Design a linear-quadratic-gaussian optimal controller for the system
construct the linear quadratic regulator for the continuous time system
Produce output for a linear simulation of a system; produces a plot for the output of the system, SYS.
Computes the matrix K such that if the state is feedback with gain K, then the eigenvalues of the closed loop system (i.e.
Determines the type of system matrix.
This function changes the sampling time (tsam) of the system.
return the number of states, inputs, and/or outputs in the system SYS.
Get signal names from a system
Return the sampling time of the system SYS.
return the initial system type of the system
change the names of selected inputs, outputs and states.
Update the internal representation of a system.
If no output arguments are given: produce Bode plots of a system; otherwise, compute the frequency response of a system data structure
Get default range of frequencies based on cutoff frequencies of system poles and zeros.
Octave Control Toolbox demo: Frequency Response demo.
Used by `__freqresp__' to check that input frequency vector W is valid.
Linear time invariant frequency response of single-input systems.
Produce Nichols plot of a system.
Produce Nyquist plots of a system; if no output arguments are given, Nyquist plot is printed to the screen.
Display root locus plot of the specified SISO system.
Compute transmission zeros of a continuous system:
Compute the transmission zeros of A, B, C, D.
Undocumented internal function.
Undocumented internal function.
Undocumented internal function.
Undocumented internal function.
Undocumented internal function.
Undocumented internal function.
Undocumented internal function.
Undocumented internal function.
Undocumented internal function.
Undocumented internal function.
Undocumented internal function.
Undocumented internal function.
Undocumented internal function.
Determine axis limits for 2-D data (column vectors); leaves a 10% margin around the plots.
Return indices of string entries in LISTVAR that match strings in STRLIST.
packedform
no description
Prompt user to continue
short script used in demos
Sort a complex vector.
Append string SUFFIX to each string in the list STRLIST.
[a1,b1] = swap(a,b)
Return indices of signals with specified signal names inputs given a system data structure SYS, a signal type to be selected SIGTYPE (`"in"', `"out"', `"st"'), and a list of desired signal names SIGNAMELIST.
Solve the Algebraic Riccati Equation
Return the solution, X of the discrete-time algebraic Riccati equation
Return controllability gramian of discrete time system
Solve the discrete-time Lyapunov equation
Solve the differential Riccati equation
Return controllability gramian M of the continuous time system dx/dt = a x + b u.
Solve the Lyapunov (or Sylvester) equation via the Bartels-Stewart algorithm (Communications of the ACM, 1972).
Return the pseudoinverse of X.
Compute product of ZGEP incidence matrix F with vector X.
Solve system of equations for dense zgep problem.
Construct right hand side vector ZZ for the zero-computation generalized eigenvalue problem balancing procedure.
Implementation of procedure REDUCE in (Emami-Naeini and Van Dooren, Automatica, # 1982).
Return NONZ = number of rows of MAT whose two norm exceeds MEPS, and ZER = number of rows of mat whose two norm is less than MEPS.
Generalized conjugate gradient iteration to solve zero-computation generalized eigenvalue problem balancing equation fx=z; called by `zgepbal'.
Apply givens rotation c,s to row vectors A, B.
Apply householder vector based on e^(m) to column vector Y.
Octave Controls toolbox demo: State Space analysis demo
Octave Controls toolbox demo: Block Diagram Manipulations demo.
Control Systems Toolbox demo.
Octave Control Systems Toolbox demo/tutorial program.
Octave Controls toolbox demo: H-2/H-infinity options demos.
Demonstrate the functions available to design a discrete H-infinity controller.
Octave Control Toolbox demo: Frequency Response demo.
H-infinity design demos for continuous SISO and MIMO systems and a discrete system.
Creates a linearized state-space model of a Boeing 707-321 aircraft at V=80 m/s (M = 0.26, GA0 = -3 deg, ALPHA0 = 4 deg, KAPPA = 50 deg).
Octave Control toolbox demo: Model Manipulations demo.
Octave Control toolbox demo: Root Locus demo.
Tutorial for the use of the system data structure functions.
Remove trailing blank entries and all zero entries from the string s.
O B S O L E T E * * * D O N O T U S E!
Determines the type of system matrix.
O B S O L E T E: use ss instead.
Compute generalized eigenvalues of the matrix pencil (A - lambda B).
givens rotation calculation
Forms the series connection of two systems.
function B = swapcols(A)
function B = swaprows(A)
Superseded by `syssetsignals'.
Obsolete.
Write formatted polynomial
print out a system data structure in desired format
Print formatted transfer function n(s)/d(s) to the screen.
print formatted zero-pole form to the screen.
construct a system data structure from FIR description
Create system structure from state-space data.
Create system structure from state-space data.
Conversion from transfer function to state-space.
Converts a state space representation to a set of poles and zeros; K is a gain associated with the zeros.
Extract FIR data from system data structure; see `fir2sys' for parameter descriptions.
Extract state space representation from system data structure.
Extract transfer function data from a system data structure.
Extract zero/pole/leading coefficient information from a system data structure.
Tutorial for the use of the system data structure functions.
build system data structure from transfer function format data
Conversion from transfer function to state-space.
Build system data structure from transfer function format data.
Converts transfer functions to poles-and-zero representations.
Create system data structure from zero-pole data.
Conversion from zero / pole to state space.
Create system data structure from zero-pole data.
Converts zeros / poles to a transfer function.
Check for compatibility of the dimensions of the matrices defining the linear system [A, B, C, D] corresponding to
Octave Controls toolbox demo: State Space analysis demo
Build controllability matrix:
Computes the H-2 norm of a system data structure (continuous time only).
Computes the H-infinity norm of a system data structure.
Returns RETVAL = 1 if the dimensions of A, B, C, D are compatible, otherwise RETVAL = 0 with an appropriate diagnostic message printed to the screen.
Logical check for system controllability.
Test for detectability (observability of unstable modes) of (A, C).
Determine whether a continuous time state space system meets assumptions of DGKF algorithm.
Return nonzero if system is digital.
Logical check for system observability.
Return true if TS is a valid sampling time (real, scalar, > 0).
Return true if MYLIST is a list of individual strings.
Returns nonzero if the system data structure SYS is single-input, single-output.
Logical check for system stabilizability (i.e., all unstable modes are controllable).
Returns 1 if the matrix A or the system SYS is stable, or 0 if not.
Build observability matrix:
Plots the zeros and poles of a system in the complex plane.
Converts the system data structure describing:
Convert a discrete (sub)system into a purely continuous one.
Displays eigenvalues, natural frequencies and damping ratios of the eigenvalues of a matrix P or the A matrix of a system P, respectively.
Returns dc-gain matrix.
convert a multirate digital system to a single rate digital system states specified by IDX, SPREFIX are sampled at TS2, all others are assumed sampled at TS1 = `sysgettsam (SYS)'.
Impulse response for a linear system.
Step response for a linear system.