polyBasis
Polynomial basis functions for tunable gain surface
Syntax
Description
You use basis function expansions to parameterize gain
surfaces for tuning gain-scheduled controllers. polyBasis generates
standard polynomial expansions in any number of scheduling variables.
Use the resulting functions to create tunable gain surfaces with tunableSurface.
generates
an shapefcn = polyBasis(___,nvars)nvars-dimensional polynomial expansion by
taking the outer product of nvars 1-D polynomial
expansions. The resulting function shapefcn takes nvars input
arguments and returns a vector with (degree+1)^(nvars-1) entries.
For example, for nvars = 3 and canonical polynomials,
Thus, to specify a bilinear function in two scheduling variables, use:
shapefcn = polyBasis('canonical',1,2);tunableSurface defines
a variable gain of the form:Here, x and y are the
normalized scheduling variables, whose values lie in the range [–1,1].
(See tunableSurface for more
information.)
To specify basis functions in multiple scheduling variables
where the expansions are different for each variable, use ndBasis.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2015b