Courses Taught

Research

Resume

Publications

Teaching

Opportunities

Group

Geochemistry

Home

 

Module I: Introduction to the use of Matlab

       Homework set (pdf file)

        HMW1.m

HMW2.m

HMW3.m

HMW4.txt

HMW5.m

HMW6.m

HMW7.m

HMW8.m

Module II: Acquiring, manipulating, and representing data in Matlab

        mydata.dat: A data set that can be loaded, represented graphically, and saved in an output files.

SCWPLC1.txt: A data file that can be open and read to extract its data set with dataextract.m.


Module III: Modeling with Matlab

Ex2.dat: A file that can be used to calculate regressions with polyfit and polyval

Tracer.dat: A file containing bromide data in a plug flow reactor that is used to optimize transport parameters calculated with the main file (Brtracer.m) and its function (funBr.m).

Banana.m: A matlab file calculating Rosenbrock's banana function.

BoricAcfsolve.m and BAequation.m: A matlab file and its function that calculates the speciation of boric acid as a function of pH using the Newton-Raphson technique with fsolve.

FDTRSP.m: A matlab file that solves the 1-D reactive transport equation at steady-state using the central finite difference method.

FD_CN.m: A matlab file that solves the transient 1-D reactive transport equation using a Crank-Nicholson scheme and the central finite difference method.

jday.m and altavg.m: matlab function files that calculate Julian days and the average and standard deviation of a vector, respectively.

pmro2.m and ro2int.m: matlab files that calculates the time evolution of gaseous species in the atmosphere using a fourth order Runge-Kutta.