EAS 309

Spring, 2011

Prof. L. Braile, CIVL 2271

braile@purdue.edu

http://web.ics.purdue.edu/~braile

Course Information:

Handouts of course notes and course outline are provided in class.

Grades will be posted on Blackboard.

Please write a brief description of all results from the lab questions and include a labeled plot of your results and a copy of the Matlab code that you used (if it is a new or modified code).  The easiest way to create an effective lab report is to create an MS Word document and copy and paste Matlab codes and figures into it.

Matlab Codes:

Matrix Calculations:

Africa data m-file (not mat file):

web.ics.purdue.edu/~braile/eas309/Africa.m

SouthAmerica data m-file (not mat file):

web.ics.purdue.edu/~braile/eas309/SouthAmerica.m

N linear equations in N unknowns example:

http://web.ics.purdue.edu/~braile/eas309/NxNLinearEquationExample.m

Chi-square:

Mynormfit: web.ics.purdue.edu/~braile/eas309/mynormfit.m

Nchisq: web.ics.purdue.edu/~braile/eas309/nchisq.m

Global temperature data:

web.ics.purdue.edu/~braile/eas309/globaltemps.m

Global temperature data:

web.ics.purdue.edu/~braile/eas309/GlobalTemps2.m

Global temperature data:

web.ics.purdue.edu/~braile/eas309/GlobalTemps3.m

Dice simulation program:

web.ics.purdue.edu/~braile/eas309/DiceSimulation.m

Least Squares:

linfit.m:  web.ics.purdue.edu/~braile/eas309/linfit.m

sline.m:  web.ics.purdue.edu/~braile/eas309/sline.m

Test the linfit function for the least squares straight line with sample data:

web.ics.purdue.edu/~braile/eas309/TestLinfit.m

Test the regress m-file for the least squares straight line with sample data:

web.ics.purdue.edu/~braile/eas309/Testregress.m

rma.m function for the reduced major axis method of least squares:

web.ics.purdue.edu/~braile/eas309/rma.m

Test the rma function for the least squares straight line with sample data:

web.ics.purdue.edu/~braile/eas309/Testrma.m

Test the polyfit.m function for the least squares straight line with sample

data:  web.ics.purdue.edu/~braile/eas309/Testpolyfit.m

Test the \ command for the least squares straight line with sample

data:  web.ics.purdue.edu/~braile/eas309/TestBackslashOperator.m

Test the xyplot.m function (requires xyplot.m, from Middleton) for the least

squares straight line with sample data; also compute and analyze an

analysis of variance table for the least squares fit:

web.ics.purdue.edu/~braile/eas309/Testxyplot.m

web.ics.purdue.edu/~braile/eas309/xyplot.m

Sample data for Lab 5, ATMS data:  web.ics.purdue.edu/~braile/eas309/AtmsData.m

Sample data for Lab 5, VpRho data:

web.ics.purdue.edu/~braile/eas309/VpRhoData.m

Test the correlation coefficient with a simulation using random x-y data:

web.ics.purdue.edu/~braile/eas309/TestLScorrcoeff.m

Test least squares polynomial fit with a quadratic equation using the

backslash operator:

web.ics.purdue.edu/~braile/eas309/PolynomialFitLS.m

Test least squares polynomial fit with a quadratic equation using polyfit.m:

web.ics.purdue.edu/~braile/eas309/PolynomialFitLS2.m

Test the exponential least squares fit:

web.ics.purdue.edu/~braile/eas309/ExponentialCurveTestLS.m

Test the power curve least squares fit:

web.ics.purdue.edu/~braile/eas309/PowerCurveTestLS.m

Test the mreg least squares fit:

web.ics.purdue.edu/~braile/eas309/Testmreg.m

mreg.m:

web.ics.purdue.edu/~braile/eas309/mreg.m

Educational level versus median income data:

web.ics.purdue.edu/~braile/eas309/EducLevelandIncomeData.m

Lab 7 f-test code:

web.ics.purdue.edu/~braile/eas309/Lab7ftest.m

ANOVA example using linear and quadratic least squares fit to sample data:

web.ics.purdue.edu/~braile/eas309/CompareANOVAlouismuddata.m

lab8xydata.m code:

web.ics.purdue.edu/~braile/eas309/lab8xydata.m

ArcAgeSlabDipData.m code

web.ics.purdue.edu/~braile/eas309/ArcAgeSlabDipData.m

Test error bounds on y-hat

web.ics.purdue.edu/~braile/eas309/TestLinfitErrorBoundsOnYhat.m

ANOVA using mreg:

web.ics.purdue.edu/~braile/eas309/FtestTestmreg.m

Interpolation:

1-D spline example:

web.ics.purdue.edu/~braile/eas309/splinewavelet.m

“2-D line” spline example:

web.ics.purdue.edu/~braile/eas309/spline2Dline.m

Griddata example, no extrapolation:

web.ics.purdue.edu/~braile/eas309/GriddataExample0305.m

Griddata example, with extrapolation:

web.ics.purdue.edu/~braile/eas309/GriddataExample0305NEW.m

Griddata example, with extrapolation (March 2006):

web.ics.purdue.edu/~braile/eas309/GriddataExample0306.m

Griddata example, with extrapolation (March 2006, revised 3/26/06):

web.ics.purdue.edu/~braile/eas309/GriddataExample0306NEW.m

Test peaks code:

web.ics.purdue.edu/~braile/eas309/TestPeaks.m

Illinois Magnetics gridding test, new 3/05:

web.ics.purdue.edu/~braile/eas309/GriddataILMag0305NEW.m

Illinois Magnetics gridding x,y,z data, 200 points:

web.ics.purdue.edu/~braile/eas309/RandGridDataIllinoisMagnetics.m

Time Series Analysis:

SimplSignals code:

web.ics.purdue.edu/~braile/eas309/SimpleSignals.m

Aliasing demonstration:

web.ics.purdue.edu/~braile/eas309/aliasing.m

Aliasing demonstration 2:

web.ics.purdue.edu/~braile/eas309/aliasing2.m

Moving Average filter demonstration code:

web.ics.purdue.edu/~braile/eas309/TestMovingAverageFilter.m

Transform Tool (explore the FFT with many signals):

web.ics.purdue.edu/~braile/eas309/TransformTool.m

Convolution Tool (explore convolution and correlation with many signals):

web.ics.purdue.edu/~braile/eas309/ConvolutionTool.m

Filter Tool (explore filtering with many signals):

web.ics.purdue.edu/~braile/eas309/FilterTool.m

Signal wavelet function (needed for Transform, Convolution and Filter Tools):

web.ics.purdue.edu/~braile/eas309/signal.m

Ricker wavelet function (needed for Transform, Convolution and Filter Tools):

web.ics.purdue.edu/~braile/eas309/ricker.m

SAGE digital signal processing website:

http://www-rohan.sdsu.edu/~jiracek/DAGSAW/

Fourier transform calculation website from Gene Ichinose:

http://www.seismo.unr.edu/htdocs/students/Ichinose/FftLab.html

Acoustics and vibrations animations website:

http://www.gmi.edu/~drussell/demos.html

Test calculation of FFT using ricker wavelet signal:

web.ics.purdue.edu/~braile/eas309/TestFFT.m

Test calculation of FFT using ricker wavelet with added noise signal:

web.ics.purdue.edu/~braile/eas309/TestFFTwithNoise.m

Convolution code:

web.ics.purdue.edu/~braile/eas309/convolve.m

Test convolve code:

web.ics.purdue.edu/~braile/eas309/TestConvolve.m

Analysis of Gibbs phenomenon:

web.ics.purdue.edu/~braile/eas309/GibbsBoxcar.m

Cosine summation demonstration:

web.ics.purdue.edu/~braile/eas309/CosineSummation.m

FFT of random noise:

web.ics.purdue.edu/~braile/eas309/FFTofNoise.m

FFT symmetry illustration using boxcar function:

web.ics.purdue.edu/~braile/eas309/FFTsymmetry.m

Data for FFT:

Daily temperature (Indianapolis) data 1/1/95 - 3/26/06:

web.ics.purdue.edu/~braile/eas309/DailyTempIND.m

Global average temperature data by month 1/1880 - 2/2006:

web.ics.purdue.edu/~braile/eas309/GlobalTempAnomaly.m

DNAG magnetic anomaly profile W to E along 35.66 deg N over western US:

web.ics.purdue.edu/~braile/eas309/DNAGMagneticsProfile.m