Octave Control Systems Toolbox demo/tutorial program.
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.
Check for compatibility of the dimensions of the matrices defining the linear system [A, B, C, D] corresponding to
A wrapper for place (A, B, P).
Octave Controls toolbox demo: State Space analysis demo
Solve the Algebraic Riccati Equation
Determine axis limits for 2-D data (column vectors); leaves a 10% margin around the plots.
Balanced realization of the continuous-time LTI system SYS.
Octave Controls toolbox demo: Block Diagram Manipulations demo.
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.
Form an arbitrary complex (open or closed loop) system in state-space form from several systems.
Converts the system data structure describing:
Control Systems Toolbox demo.
Build controllability matrix:
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.
Return the solution, X of the discrete-time algebraic Riccati equation
Returns dc-gain matrix.
Remove trailing blank entries and all zero entries from the string s.
Octave Controls toolbox demo: H-2/H-infinity options demos.
Return controllability gramian of discrete time system
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
O B S O L E T E * * * D O N O T U S E!
Construct the linear quadratic regulator for the discrete time system
Solve the discrete-time Lyapunov equation
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)'.
Solve the differential Riccati equation
Filter the output of sys1 through sys2 and subtract it from the input.
construct a system data structure from FIR description
Octave Control Toolbox demo: Frequency Response demo.
Used by `__freqresp__' to check that input frequency vector W is valid.
`gram (SYS, 'c')' returns the controllability gramian of the (continuous- or discrete-time) system SYS.
Computes the H-2 norm of a system data structure (continuous time only).
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.
Called by `hinfsyn' to compute the H-infinity optimal controller.
H-infinity design demos for continuous SISO and MIMO systems and a discrete system.
Computes the H-infinity norm of a system data structure.
*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
Impulse response for a linear system.
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.
Return true if the LTI system SYS is continuous-time, false otherwise.
Return true if the LTI system SYS is discrete-time, false otherwise.
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).
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.
Linear time invariant frequency response of single-input systems.
Solve the Lyapunov (or Sylvester) equation via the Bartels-Stewart algorithm (Communications of the ACM, 1972).
Determines the type of system matrix.
Octave Control toolbox demo: Model Manipulations demo.
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.
Build observability matrix:
Creates a continuous 2nd order system with parameters:
packedform
no description
O B S O L E T E: use ss instead.
Forms the parallel connection of two systems.
Computes the matrix K such that if the state is feedback with gain K, then the eigenvalues of the closed loop system (i.e.
Prompt user to continue
Plots the zeros and poles of a system in the complex plane.
Compute generalized eigenvalues of the matrix pencil (A - lambda B).
Octave Control toolbox demo: Root Locus demo.
Display root locus plot of the specified SISO system.
givens rotation calculation
short script used in demos
Forms the series connection of two systems.
Sort a complex vector.
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.
Redheffer star product or upper/lower LFT, respectively.
Step response for a linear system.
Append string SUFFIX to each string in the list STRLIST.
[a1,b1] = swap(a,b)
function B = swapcols(A)
function B = swaprows(A)
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.
returns SYS = GSYS + HSYS.
appends new inputs and/or outputs to a system
Superseded by `syssetsignals'.
This function changes the sampling time (tsam) of the system.
Close the loop from specified outputs to respective specified inputs
Extract the purely continuous subsystem of an input system.
return the number of states, inputs, and/or outputs in the system SYS.
*Input*
Duplicate specified input/output connections of a system
Get signal names from a system
Return the sampling time of the system SYS.
return the initial system type of the system
Combines two systems into a single system.
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.
Returns a minimal (or reduced order) system
Compute sys = Asys*Bsys (series connection):
print out a system data structure in desired format
Extract specified inputs/outputs from a system
*Inputs*
Tutorial for the use of the system data structure functions.
scale inputs/outputs of a system.
change the names of selected inputs, outputs and states.
Return sys = Gsys - Hsys.
Update the internal representation of a system.
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.
Print formatted transfer function n(s)/d(s) to the screen.
Compute transmission zeros of a continuous system:
Compute the transmission zeros of A, B, C, D.
Creates a system with unity gain, no states.
Creates the System Sys2(s) from the system Sys1(s) when we have a negative feedback.
Obsolete.
State space description of a first order weighting function.
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.
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.
print formatted zero-pole form to the screen.