MATLAB Answers

Script that can solve any set of three linear equations?

43 views (last 30 days)
AC
AC on 27 Dec 2020
Answered: Rishik Ramena on 30 Dec 2020
How do I write a script that can solve any set of three linear equations?
  4 Comments
J. Alex Lee
J. Alex Lee on 28 Dec 2020
do you have familiarity with linear algebra? if not, i would start there rather than matlab (or any computational tool).

Sign in to comment.

Answers (1)

Rishik Ramena
Rishik Ramena on 30 Dec 2020
Since you mentioned that you're not much familiar to MATLAB, you might wanna learn about how to represent equations. This here might help you represent those equations in matrix form. You can then use linsolve with the right inputs to solve those equations.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by