140 likes | 151 Views
Scientific Computation. What’s the big idea?. A scientific toolbox. A computer is a general-purpose tool for processing information Main goal of CS112 is to learn how to build your own specialized tools for scientific work Your tools will be computer programs written in MATLAB.
E N D
Scientific Computation What’s the big idea?
A scientific toolbox • A computer is a general-purpose tool for processing information • Main goal of CS112 is to learn how to build your own specialized tools for scientific work • Your tools will be computer programs written in MATLAB Big ideas
Data visualization and analysis • Graphical display of data • Statistical analysis of data • Fitting functions to data Big ideas
Sunspots • Discovered independently by Christoph Scheiner (1610) and Galileo (1613) • Indicate disturbances in the sun’s magnetic field • The number of sunspots varies over time in a cyclical way • Sunspot Cycle* discovered by Samuel Schwabe (1843) * There is some connection between sunspots and extreme weather Big ideas
The sunspot data: How can we determine the length of the sunspot cycle? Big ideas
The length of the sunspot cycle: ~ 12 years Note: virtually no sunspot activity in the years 1650-1700 (Europe’s mini ice-age) and we’re currently in a low spot in the cycle! Big ideas
Visualizing data Big ideas
Whodunit? Big ideas
Create synthetic data and images Perceptual experiments: collect data from human subjects, analyze data, implement and test models of human visual processing simultaneous contrast illusion Big ideas
Ribonucleic acid • An RNA molecule is a sequence of nucleotides drawn from Adenine (A), Guanine (G), Cytosine (C), and Uracil (U) • Three adjacent nucleotides form a triplet called a codon that corresponds to a single amino acid • You’ll write a MATLAB program that translates a sequence of RNA nucleotides to an amino-acid sequence: UANCUAUCUAUCUUCCGGUC ... Tyr Leu Ser Ile Phe Gln Val .... Big ideas
Searching databases • What is the average cholesterol level for women in their twenties who exercise at least 30 minutes a day? cholesterol ... 189 239 178 185 251 165 age ... 25 35 28 40 28 22 sex ... ‘m’ ‘m’ ‘f’ ‘m’ ‘m’ ‘f’ exercise ... 30 15 40 25 15 60 Big ideas
Designing GUI’s* • Graphical User Interfaces simplify communication with our programs by using text boxes, pop-up windows, buttons, menus, check boxes, sliders, etc. • We’ll use MATLAB’s GUI facilities to build our own interactive programs * Pronounced “gooey” Big ideas
Physical simulation • Prof. Yue Hu in Physics, together with students Nicole DuRand ‘06 and Christina Miller ‘08, created animations in MATLAB that simulate simple physical systems • The MathWorks website has many more examples Big ideas
Credits Plotting emissions test data: http://www.mathworks.com/demos/matlab/... analyzing-data-overview-matlab-video-demonstration.html Sunspot data and image: http://www.macalester.edu/~kaplan http://web.me.com/uriarte/Earths_Climate/... Sunspots_and_solar_cycles_files/sunspot032901.gif Visualization examples: http://scv.bu.edu/SCV/vizgal http://visualizationlab.vassar.edu/instvishome MATLAB Help: Visualizing MRI data http://www.mathworks.com/products/matlab/demos.html Big ideas