Convert a system of linear equations to matrix form.方程式stomatrixautomatically detects the variables in the equations by usingsymvar。The returned coefficient matrix follows the variable order determined bysymvar。
Convert a linear system of equations to the matrix form by specifying independent variables. This is useful when the equation are only linear in some variables.
For this system, specify the variables as[s t]因为系统不线性r。
Linear equations, specified as a vector of symbolic equations or expressions. Symbolic equations are defined by using the==operator, such asx + y == 1。For symbolic expressions,方程式stomatrixassumes that the right side is 0.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.