SCIENTIFIC PROGRAMMING LAB NOTES

LECTURE NOTES

by

Stephen J. Martel

Department of Geology and Geophysics
School of Ocean and Earth Science and Technology
University of Hawai'i at Manoa

September, 2004

Copyright © 2004 by S. J. Martel


Lecture notes are available as PDF files. You may need to install Acrobat Reader to obtain the PDF documents.


POWERPOINT PRESENTATIONS (POWERPOINT FORMAT)
gg250_lab_06.ppt
gg250_lab_07.ppt
gg250_lab_08.ppt
gg250_lab_10.ppt
gg250_lab_12.ppt

POWERPOINT PRESENTATIONS (pdf format)
gg250_lab_06_ppt.pdf
gg250_lab_07_ppt.pdf
gg250_lab_08_ppt.pdf
gg250_lab_09_ppt.pdf
gg250_lab_10_ppt.pdf
gg250_lab_11_ppt.pdf
gg250_lab_12_ppt.pdf
gg250_lab_13_ppt.pdf

LABS
Lab 01: Introduction to Matlab & m-files
Lab 02: Introduction to Plotting
Lab 03: 3-D Visualization with Matlab
Lab 04: Introduction to programming
Lab 05: Some cryptology
Lab 06: Loops
Lab 07: Heat flow & finite differences
Lab 08: Simultaneous linear equations
Lab 09: Fitting a straight line to data
Lab 10: Three-dimensional matrices
Lab 11: Maps
Lab 12: U.S. Petroleum production
Lab 13: Tic-Tac-Toe

WORD DOCUMENTS (WORD format)
gg250_lab_08.doc

MATLAB SCRIPTS (text files)
Lab 01
script_template.m
function_template.m
int_script_template.m
int_function_template.m
der_script_template.m
Lab 02
gg250_lab_02_1.m
gg250_lab_02_1.dat
gg250_lab2_2_template.m
line_intersect_a.m
line_intersect_b.m
line_intersect_c.m
Lab 04
pseudo_code_gg250_lab_04_1.m
Lab 06
gg250_lab_06_try.m
Lab 09
gg250_lab9_fitline.m
gg250_lab9_misfit.m
gg250_lab9_plotline.m
Lab 11
geomap.m
geoworldmap_1.m
Lab 13
tictactoe_game_status.m
tictactoe_test.m
tictactoe.m

DATA
Hawaii_age_dist.dat (Lab 09)
hertzsprung_russell.dat (Lab 09)
Americas.txt
Antarctica.txt
Australia.txt
Eurasiafrica.txt
Greenland.txt
US_petroleum_overview.dat

MATLAB LINKS
University of Utah Link
University of Florida Link
Michigan Technological University Link
University of Indiana Link
Octave (similar to Matlab)