Illustration of gauss-jordan, MATLAB in Engineering

Assignment Help:

Illustration of gauss-jordan:

Here's an illustration of performing such substitutions by using MATLAB

>> a = [1 3 0; 2 1 3; 4 2 3]

a =

1 3 0

2 1 3

4 2 3

>> b = [1 6 3]'

b =

       1

       6

       3

>> ab = [a b]

ab =

1 3 0 1

2 1 3 6

4 2 3 3

>> ab(2,:) = ab(2,:) - 2*ab(1,:)

ab =

1  3 0 1

0 -5 3 4

4  2 3 3

>> ab(3,:) = ab(3,:) - 4 * ab(1,:)

ab =

1  3 0  1

0 -5 3  4

0 -10 3 -1

>> ab(3,:) = ab(3,:) - 2 * ab(2,:)

ab =

1  3  0  1

0 -5  3  4

0  0 -3 -9

>> ab(2,:) = ab(2,:) + ab(3,:)

ab =

1  3  0  1

0 -5  0 -5

0  0 -3 -9

>> ab(1,:) = ab(1,:) + 3/5*ab(2,:)

ab =

1  0  0 -2

0 -5  0 -5

0        0 -3 -9


Related Discussions:- Illustration of gauss-jordan

Function numden, function numden: The function numden will return indi...

function numden: The function numden will return individually the numerator & denominator of a symbolic expression: >> sym(1/3 + 1/2) ans = 5/6 >> [n, d] =

Example of exponential function modular program, Example of Exponential fun...

Example of Exponential function modular program: In order to view the distinction in the approximate value for e as n increases, the user kept choosing Limit & entering larger

Illustration of if - else statement, Illustration of if - else statement: ...

Illustration of if - else statement: The one application of an if-else statement is to check for errors in the inputs to a script. For illustration, a former script prompted t

Streamslice, I have a 400x2 vel.dat and 20x2 xy.dat file, how can i plot a ...

I have a 400x2 vel.dat and 20x2 xy.dat file, how can i plot a streamslice graph on matlab with this two files.

Converting between the string and number types, Converting between the Stri...

Converting between the String and Number types: The MATLAB has many functions which convert numbers to strings in which each character element is a separate digit, and vice ve

Algorithm for subfunction, Algorithm for subfunction: The algorithm fo...

Algorithm for subfunction: The algorithm for subfunction askforn is as shown:  Prompt the user for the positive integer n.  Loop to print an error message and reprom

Simplification functions, Simplification Functions: There are numerous...

Simplification Functions: There are numerous functions which work with expressions, and simplify the terms. Not all the expressions can be simplified, but the simplify functio

Gauss-jordan, Gauss-Jordan: The Gauss-Jordan elimination technique beg...

Gauss-Jordan: The Gauss-Jordan elimination technique begins in similar way which the Gauss elimination technique does, but then rather than of back-substitution, the eliminati

Forward substitution, Forward substitution: The Forward substitution (...

Forward substitution: The Forward substitution (done methodically by first getting a 0 in the a 21 place, and then a 31 , and lastly a 32 ): For the Gauss technique,

Cross product of matrix, Cross Product: The cross or outer product a ×...

Cross Product: The cross or outer product a × b of two vectors a and b is defined only whenever both a and b are the vectors in three-dimensional space, that means that they b

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd