Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a user-defined MatLab function that implements the Gauss elimination method called Gauss_alt. The input arguments would matrix [a] and [b] from linear algebra ([a]*[x]=[b])

Create a user-defined MatLab function that implements the Gauss elimination method called Gauss_alt. The input arguments would matrix [a] and [b] from linear algebra ([a]*[x]=[b]) and the output [x]. If the input argument [b] is a row vector, the function should be able to transform it to a column vector. Use the augmented matrix for [a|b] for all operations in the function. Define the number of rows (R) and columns (C) using the size function in MatLab. For the elimination phase use two for-end loops, one inside the other, and a single expression in them (something=something). For the back substitution phase define the vector [x] outside the forend loop as a zero vector. Define the last value of [x] outside the for-end loop. Use one single expression inside the for-end loop (something=something). Solve the following set of equations by hand (explain the steps you are following):

image text in transcribed

image text in transcribed

image text in transcribed

Use the function Gauss_alt to validate your hand-calculated solution

11 + 2.02 - 2.63 9 2.01 +3.02 + 13 = 23 3.01 + 2.02 4.03 11 11 + 2.02 - 2.63 9 2.01 +3.02 + 13 = 23 3.01 + 2.02 4.03 11

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Current Trends In Database Technology Edbt 2004 Workshops Edbt 2004 Workshops Phd Datax Pim P2panddb And Clustweb Heraklion Crete Greece March 2004 Revised Selected Papers Lncs 3268

Authors: Wolfgang Lindner ,Marco Mesiti ,Can Turker ,Yannis Tzitzikas ,Athena Vakali

2005th Edition

3540233059, 978-3540233053

More Books

Students also viewed these Databases questions