Solve linear equations in matrix form

`X = linsolve(A,B)`

```
[X,R] =
linsolve(A,B)
```

If the solution is not unique,

`linsolve`

issues a warning, chooses one solution, and returns it.If the system does not have a solution,

`linsolve`

issues a warning and returns`X`

with all elements set to`Inf`

.Calling

`linsolve`

for numeric matrices that are not symbolic objects invokes the MATLAB^{®}`linsolve`

function. This function accepts real arguments only. If your system of equations uses complex numbers, use`sym`

to convert at least one matrix to a symbolic matrix, and then call`linsolve`

.

`cond`

| `dsolve`

| `equationsToMatrix`

| `inv`

| `norm`

| `odeToVectorField`

| `rank`

| `solve`

| `symvar`

| `vpasolve`