Gaussian elimination, MATLAB Programming

Diary Files: Before doing this assignment, please read the document Notes on Matlab Assignments (available from the course web page). It describes how to record the results of your Matlab session in a diary le, and then how to edit this le to create your Lab report.

IMPORTANT: The printed report that you hand in for grading must include both the Matlab commands that you typed at the prompt, and the output calculated by the Matlab program. This assignment is for a mathematics course, not a computer science course; the point of many of the calculations is to illustrate the mathematical concepts involved in linear algebra. In general, you should type the answers to the questions in your diary le at the time the computation related to each question is made. Do not wait until you have completed all the calculations.

Before beginning work on the Lab questions you should copy these codes to your workspace. Script Files: When you need to write a script le for this lab and subsequent labs, use the following procedure: Start Matlab and click on File, then New. Move the pointer to the right and click on m-Files. This will open the Matlab Editor/Debugger Window. Type the script commands in this window, then click on File in the Editor/Debugger toolbar and save your script on in your directory. After you have created and saved an m- le, you must set the Path so that Matlab can nd this le. Click on File and then Set Path and follow the directions to add your directory to the list of path names.

Script Files for this Lab: Use the text editor inMatlab to create the followingMatlab function m- les:

(a) Create a function m- file with the commands

function v = rvect(m)

v = fix(10*rand(m,1));

Posted Date: 3/19/2013 5:30:51 AM | Location : United States







Related Discussions:- Gaussian elimination, Assignment Help, Ask Question on Gaussian elimination, Get Answer, Expert's Help, Gaussian elimination Discussions

Write discussion on Gaussian elimination
Your posts are moderated
Related Questions
The fuel consumption of a certain make of car may not be exactly that rated by the manufacturer. Suppose ten cars of the same model were tested for combined city and highway fuel c

Algorithms: Before writing any computer program, it is very useful to first outline the steps which will be essential. An algorithm is the series of steps required to solve a

You are a quant analyst reporting directly to a portfolio manager. Your manager requires you to generate a simple code to compute several statistics for the following potential por

The IF-ELSE Statement: The if statement selects whether an action is executed or not. Selecting between the two actions, or selecting from numerous actions, is accomplished by

how to display any words to the edittor

if i have a 3x2 double.. how can i run a for loop for this matrix so tht it can subtracted values of he adjacent neighbors?

Q. Explain Power system toolbox ? Power system toolbox (PST) was developed to enable users to perform power system analysis within MATLAB. PST may be used on any computer syste

Consider the 3rd order Bessel function J3(x). Write a script findBessRoots.m that computes all the roots of J3(x) in the interval [0; 40]. Your script must store the roots of the f

Illustrations of if statement: illustrations of running this script: >> sqrtifexamp Please enter a number: -4.2 The sqrt of 4.2 is 2.0 >> sqrtifexamp Please ent

The Efficient Method: Though, in MATLAB, there is another built-in function which specifically produces random integers, i.e. randint. Calling the function with randint (1,1,n