System of linear equations - infinite solutions
Authors: Katarína Gombíková, Peter Szabó, 2020
System: MATLAB R2019b, MATLAB live editor
Program version: 1.0.0
System of linear equations in matrix form Ax=b (where A is nxn matrix),
1) has exactly one solution (Matrix A is regular, det(A)<>0, rank(A)=rank([A,b])=n)
2) has no solution (Matrix A is irregular,rank(A)<>rank([A,b]))
3) has infinitely many solutions (Matrix A is irregular,rank(A)=rank([A,b])<n)
Our program finds infinite solutions of Ax=b and express it in a parametric form.
rank(A) is the number of basic variables
n-rank(A) is the number of parameters (free variables, t1,t2,..., where t1,t2,... are arbitrary real numbers)
Cite As
Katarína Gombíková, Peter Szabó (2020). System of linear equations - infinite solutions (https://www.mathworks.com/matlabcentral/fileexchange/75015-system-of-linear-equations-infinite-solutions), MATLAB Central File Exchange. Retrieved April 14, 2020.
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
