cano2M | R Documentation |
Converts the vectorial formulation of canonical models
into a matrix formulation (that is, including explicitely all the
equations). For both input, the list of terms follows the convention
defined by poLabs
.
cano2M(nVar, dMax, poly, dMin = 0)
nVar |
The number of variables |
dMax |
The maximum degree allowed in the formulation |
poly |
A vector of coefficients corresponding to the regressor of the canonical function |
dMin |
The minimum negative degree of the polynomial formulation (0 by default). |
Kmod
A matrix with nVar columns of the complete description of the equations.
The first columns relates to the canonical part dX1/dt = X2, dX2/dt = X3 etc. and
the column is the polynomial term itself
Sylvain Mangiarotti, Mireille Huc
drvSucc
, gPoMo
, poLabs
# A vector of polynomial terms corresponding to a canonical form:
polyTerms <- c(0.2,0,-1,0.5,0,0,0,0,0,0)
# Convert this vector into a matrix formulation with all the equations:
K <- cano2M(3,2,polyTerms)
# Visualize the equations:
visuEq(K,3,2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.