I'm just starting (way overdue really) to learn how to use matlab.(adsbygoogle = window.adsbygoogle || []).push({});

Suppose you have a system of linear equations for which this is the augmented matrix:

[tex]\begin{array}{cccc}1 &5 &-3 &-4\\ -1 &-4 &1 &3\\ -2 &-7 &0 &h \end{array}[/tex]

how would you find (using Matlab) the value(s) of h for which it's consistent?

Obviously this example is trivial to solve by hand, but suppose it were a much bigger matrix. Is there a way to set up a matrix with variables for one or several elements and solve for those variables? Or, just do a row reduction while keeping the variables in place so you would then be able to determine the consistent values by inspection? Or some other way?

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Solving vector equations with matlab

Loading...

Similar Threads for Solving vector equations |
---|

MATLAB A lazy numerical solution to the diffusion equation |

Mathematica Looping through vectorized functions for a piecewise solution |

Mathematica Solve Perturbation problem with mathematica |

MATLAB MATLAB vector multiplication |

MATLAB Solving equation with integration using MATLAB |

**Physics Forums | Science Articles, Homework Help, Discussion**