Question: solve it ON MATLAB... we don't need any hand written script... Make a doc file /txt/ any soft copy or screen shot... 2. Task 2

 solve it ON MATLAB... we don't need any hand written script...

solve it ON MATLAB... we don't need any hand written script... Make a doc file /txt/ any soft copy or screen shot...

2. Task 2 Write a MATLAB code to solve a set of linear equations using Gauss elimination or Gauss-Jordan method which is capable of producing parametric results. When the number of unknowns is larger than the given number of equations, the value of a few of the unknowns must be assumed. The values of the other unknowns are expressed in terms of the unknowns whose value have been assumed. For example, consider the following set of equations: 3x - 3x2 x3 = 4 2x2 + x3 = 7 Since only two equations are given the value of all three unknowns cannot be solved. If we assume the value of x, = r, (where r is a parameter) then from the given equations: 1 = x3 = 7 - 2x, = 7-2r 4+3x, +x;4+3r + 7-2r_11+r 3 3 3 x=r = = 3 These are called parametric solutions. It is required that the MATLAB code will produce similar parametric results when the number of equations is less than number of unknowns. Also note that there may be more than one parameter required. Show sample outputs of your program. Also briefly explain the algorithm that you used. No built in MATLAB functions related directly to parametric solutions (such as symbolic MATLAB functions) can be used to solve the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!