Difference between revisions of "Linear Systems in Matlab"

From Sutherland_wiki
Jump to: navigation, search
m (Solving Linear Systems of Equations in MATLAB)
Line 5: Line 5:
 
<math>[A](x)=(b)</math>
 
<math>[A](x)=(b)</math>
  
See the discussion of [[LinearAlgebra|linear algebra]] for help on setting up a linear system of equations.  There is also help on creating [[Matlab_Arrays#Creating Matrices|matrices]] and [[Matlab_Arrays#Creating Vectors|vectors]] in MATLAB.
+
See the discussion of [[LinearAlgebra|linear algebra]] for help on setting up a linear system of equations.  There is also help on [[Matlab_Arrays#Creating Arrays in Matlab|creating matrices and vectors]] in MATLAB.
  
 
  Insert discussion of the "\" operator.
 
  Insert discussion of the "\" operator.
Line 13: Line 13:
  
 
=== Example - Sparse System ===
 
=== Example - Sparse System ===
 
  
 
== Linear Systems using the Symbolic Toolbox ==
 
== Linear Systems using the Symbolic Toolbox ==
  
 
Occasionally we may want to find the symbolic (general) solution to a system of equations rather than a specific numerical solution.  The symbolic toolbox provides a way to do this.
 
Occasionally we may want to find the symbolic (general) solution to a system of equations rather than a specific numerical solution.  The symbolic toolbox provides a way to do this.

Revision as of 09:12, 29 July 2008


Solving Linear Systems of Equations in MATLAB

[A](x)=(b)

See the discussion of linear algebra for help on setting up a linear system of equations. There is also help on creating matrices and vectors in MATLAB.

Insert discussion of the "\" operator.
Also discuss "inv"

Example - Dense System

Example - Sparse System

Linear Systems using the Symbolic Toolbox

Occasionally we may want to find the symbolic (general) solution to a system of equations rather than a specific numerical solution. The symbolic toolbox provides a way to do this.