solve x-2y=1 and 3x-y=-2 in matlab

Register or Login to View the Solution or Ask a Question

Introduction : Here we shall explain line by line matlab code to solve x-2y=1 and 3x-y=-2 in matlab.Question : Solve\[x-2y=1, 3x-y=-2\]in matlabSolution :Given system of two linear equations\[x-2y=1, 3x-y=-2\]First we shall write this system in matrix form\[\left(\begin{matrix}1&-2\\3&-1\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}1\\-2\end{matrix}\right)\]Here coefficient matrix A…

This Question has been answered. 

Please Subscribe to See Answer or To Get Homework Help


Register or Login to View the Solution or Ask a Question