COMP350
Numerical Computing
|
Document
|
- MATLAB Information
MATLAB is by far the best environment for experimentation in numerical
computing. Although by itself it is not the most efficient choice
for large-scale computing, it can be used to call compiled C and Fortran
routines and experiment with the results. MATLAB is a product of
The Mathworks.
There are many free MATLAB online tutorials .
- You can register on The Mathworks
with your first.last@mail.mcgill.ca address and it will allow you to download and install MATLAB on your machine.
You can also use MATLAB Online.
- Some MATLAB programs
- Gaussian elimination with no pivoting genp.m
- LU factorization with no pivoting lunp.m
- Gaussian elimination with partial pivoting gepp.m
- LU factorization with partial pivoting lupp.m
- Examining solution to a 2 by 2 linear system with GENP
GENPexample.m
- Examining residual and errors for a family of linear equation problems.
accuracy.m
- The bisection method for solving a nonlinear equation
bisection.m
- Newton's method for for solving a nonlinear equation
newton.m
- Two examples used for testing the bisection method and Newton's method.
f.m ,
fd.m ,
g.m,
gd.m .
- Computing the coefficients of the Newton form of polynomial
interpolation
newton_coef.m
- Evaluating the Newton form of an interpolating polynomial for some x
newton_pval.m
- Main programs for two polynomal interpolation examples
us_census.m ,
runge.m
- Euler's method
test_euler.m ,
euler.m ,
fun.m
- Trapezoidal Euler's method
trape_euler.m
- Midpoint Euler's method
mid_euler.m
- Test Euler's, trapezoidal Euler's and midpoint Euler's methods
test_euler_mid_trape.m
|
|