Linear Equation System Solution and Matrix Multiplication in MATLAB

  • Thread starter Thread starter A.J.710
  • Start date Start date
  • Tags Tags
    Matlab
Click For Summary
SUMMARY

The discussion focuses on solving a system of linear equations symbolically in MATLAB, specifically the equations 3x + 4y + 5z = 2, 2x - 3y + 7z = -1, and x - 6y + z = 3. The user struggled with using the MATLAB functions 'linsolve' and 'solve' for this task and sought clarification on matrix multiplication. The solution was found by following a provided link that outlines the necessary steps for using MATLAB effectively.

PREREQUISITES
  • Familiarity with MATLAB syntax and functions
  • Understanding of symbolic mathematics in MATLAB
  • Knowledge of matrix operations and multiplication
  • Basic concepts of linear algebra, specifically systems of equations
NEXT STEPS
  • Learn how to use MATLAB's 'linsolve' function for solving linear equations
  • Explore the 'solve' function for symbolic solutions in MATLAB
  • Study matrix multiplication techniques in MATLAB
  • Review linear algebra concepts, focusing on systems of equations and their representations
USEFUL FOR

Students, educators, and professionals working with MATLAB who need to solve systems of linear equations and perform matrix operations.

A.J.710
Messages
56
Reaction score
1

Homework Statement


Solve (symbolically) the system of linear equations

3x + 4y + 5z = 2
2x - 3y + 7z = -1
x - 6y + z = 3

Check your answer using matrix multiplication.[/B]

Homework Equations


N/A

The Attempt at a Solution


This assignment was given with about 20 different basic MATLAB questions and this is really the only one that I cannot get. I really don't even know where to start. I tried the online help copy and pasting different types of functions such as linsolve and solve Y but I just cannot get it to work. I also need help multiplying in matrix form. Can anyone please explain to me how to go about this. Thanks
 
Physics news on Phys.org
Maybe this will help. It describes the steps needed to let MATLAB solve it.

http://www.math.ucsd.edu/~math20f/Fall/Lab2/Lab2.shtml
 
Got it. Thanks
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K