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
A 300 km, 3-phase, 50Hz transmission line has spacing as shown in Figure 2. Each phase of the line consists of a bundle of three conductors.  (a) Find the total per-phase induct

How to make EMG analysis by Matlab?

Plot way forms for the following modulation schemes using Mathlab: a)      2 ASK                     b)  BFSK                        c) BPSK 4 ASK

The average speed of vehicles on a freeway is being studied. Assume that the standard deviation of vehicle speed is known to be 8 km/h. (a) Suppose observations on 120 vehicles

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?

Customizing a Plot: Line Types, Color, Marker Types: Plots can be completed in the Command Window, if they are really simple. Though, at many times it is desirable to customiz

Compare results/performance with tridiagonal Gaussian elimination solver for the problem arising from -y''=f   on (0,1) with y(0)=0=y(1). You may also need to use sparse storage an

Illustration of script: For illustration, we will now generate a script known as script1.m which calculates area of the circle. It assigns a value for the radius, and then com

Operator Precedence Rules: A few operators have precedence over the others. For illustration, in the expression 4 + 5 * 3, the multiplication takes the precedence over additio

Your task is to implement the PHYSAT algorithm in Matlab to classify the phytoplankton species in the data you have selected. An algorithm demonstrating one solution is provided be