Examples, examples: Outline

Size: px
Start display at page:

Download "Examples, examples: Outline"

Transcription

1 Examples, examples: Outline Overview of todays exercises Basic scripting Importing data Working with temporal data Working with missing data Interpolation in 1D Some time series analysis Linear regression Getting started Preparing data Data analysis

2 Exercise Overview Today we are going to be doing lots of exercises. Today's dataset consists of 2001 hourly buoy measurements from a buoy near Bodega Bay (#46013): Today we will: Import the data Learn how matlab deals with dates and times Deal with missing data Fill in missing data Do some autocorrelations of wind and air temperature Do a linear fit between wind and air temperature

3 Basic Scripting Matlab commands can be stored in a text file with a.m extension and then run using the filename. Change the working directory to your student directory (z:\home\wfcb\wfcb??\). Use the edit command to being editing a text file.» edit Put some commands in the file and save it as myfile.m: a = 1:10; plot( a, a.^2 ) Run your commands by either hitting F5 or typing from the command line:» myfile Get in the habit of saving commands in m files.

4 Importing data The data for this class is located in: z:\pkg\wfcb\class3\46013h2001.txt Take a look at data (use edit). There are many ways to get data into matlab. One popular way is through the Excel toolbox. Many other commands: load, importdata, textread, imread (try: help fileformats) We have used load. Drawback: Requires rigid format. Another more flexible command is importdata. More flexible tries to load data no matter what Works on lots of different formats (text, images, HDF,...) Exercise: Use importdata to load todays dataset. Next slide explains the result of loading data.

5 Structures The result of loading a text file with importdata is often a structure. Many functions return structures. Structures are like bags of variables. If you have loaded the data into a variable a, then the column names would be accessed using:» a.colheaders Structures are a convenient way to keep together related variables. Add an element to a structure like so:» a.buoy_num = Take a look at the elements of the result of importdata. Which element contains the numerical data?

6 Temporal data The first four columns of the data are year, month, day and hour Matlab has its own way of dealing with dates and times Numbers days from Year 0, January 1 at 00:00! Noon on January 1, 2000 is to matlab. Matlab has functions to convert to and from matlab format: datenum: converts year, month,... to matlab date numbers datevec: converts numbers to individual parts datestr: converts numbers to human readable dates datetick: converts numeric ticks on a plot to dates Exercises: Put dataset dates in matlab format (datenum) Oops dateset dates are in GMT (subtract 8 hours for PST) Plot PST date vs. air temp (ATMP) and fix x axis labels (datetick)

7 Initial plot of air temperature Looks pretty bad air temperatures of 1000ºC are still unusual. Why does it look this way? Try scaling y axis limits to something more reasonable (ylim)

8 Missing Data The problem in the last plot is missing data In this dataset, 99, 999 and 9999 all indicate missing data. Exercises: Create a new variable of data with all missing data replaced by NaN. Use logical operations (last class) to do this. == is equivalent is logical or Replot data

9 Plot of air temperature with NaNs Try zooming in on the second half of March. Hint: Use datetick('keeplimits') to create date ticks after zoom. Do you see any data gaps? What dates?

10 Interpolation in 1D We want to fill in all that missing data using linear interpolation. Exercise: Use the interp1 function to fill in the missing data for air temperature and water temperature (WTMP). Hints: You will need to create new variables with the results. Use isnan to remove bad data (remember ~ is logical not). Use interp1 to get values at all points. Where data already exists, it will return the same value; elsewhere, it will interpolate.

11 Replot data Exercises: Plot air temperature and water temperature on a figure with different line colors. Put a black circle around all data points that were interpolated (i.e. originally missing data). Hint: use isnan and look at line styles in help plot. Don't forget to hold on to your first plot. Zoom in on second half of March again Can you figure out how to fill in the dots? Don't worry if you can't do this.

12 Time Series Analysis: Autocorrelations Now we want to look first at how water and air temperatures vary in time through autocorrelations. Autocorrelations are a measure of how well data at one point in time reflects data at a future or past point in time. It is basically a lagged correlation. Exercises: Compute the autocorrelations for air and water temp (hint: use the xcov and set the scaling option to 'coeff'). Plot both autocorrelation functions on the same graph. Label x and y axes. Remember that lags are in hours. Zoom in to a sensible time period (i.e. a few days). What does the slower decline of one of the autocorrelations means? What do the oscillations in the curves mean?

13 Plot of autocorrelations Slower decline of water temp autocorrelation means that it is more stable. Oscillations every 24 hours mean that temps have a diurnal cycle, but air temp fluctuates more.

14 Linear Regression Exercise: Make a scatter plot of air temperature against water temperature using the plot function. Clearly there is a relationship. Matlab can do basic linear regression with polyfit (more robust fits need Stats Toolbox or code available online). Exercises: Use polyfit to regress air temp vs. water temp. Add a red line to your scatter plot with the linear fit using the polyval function. Can you plot the residuals of the fit?

15 Next Class For next class, we will continue working with this dataset. Also, think about datasets and analyses that you could bring into the class and we could work on. Must be general enough that everyone can get involved. Must not be too complex for us to work through it in a class. I will choose one or two to work on.

Data needs to be prepped for loading into matlab.

Data needs to be prepped for loading into matlab. Outline Preparing data sets CTD Data from Tomales Bay Clean up Binning Combined Temperature Depth plots T S scatter plots Multiple plots on a single figure What haven't you learned in this class? Preparing

More information

Getting started with Matlab: Outline

Getting started with Matlab: Outline Getting started with Matlab: Outline What, where and why of matlab. The matlab desktop and you Entering commands Variables and data types Plotting 101 Saving and loading data A real world example What

More information

MATLAB An introductory tutorial

MATLAB An introductory tutorial MATLAB An introductory tutorial By Carin Nilsson Dept. of Physical Geography and Ecosystems Analysis (taken from the tutorials for course NGE604 Climate Systems) And Chantal Donnelly (Dept. of Water Resources

More information

Excel 2. Module 3 Advanced Charts

Excel 2. Module 3 Advanced Charts Excel 2 Module 3 Advanced Charts Revised 1/1/17 People s Resource Center Module Overview This module is part of the Excel 2 course which is for advancing your knowledge of Excel. During this lesson we

More information

Matlab Basics Lecture 3. Juha Kuortti November 6, 2017

Matlab Basics Lecture 3. Juha Kuortti November 6, 2017 Matlab Basics Lecture 3 Juha Kuortti November 6, 2017 1 Creating and accessing files save,load Variables are erased from memory after quitting Matlab (>>quit or >> exit). The command >>save saves all workspace

More information

Introduction to Minitab 1

Introduction to Minitab 1 Introduction to Minitab 1 We begin by first starting Minitab. You may choose to either 1. click on the Minitab icon in the corner of your screen 2. go to the lower left and hit Start, then from All Programs,

More information

Introduction to the workbook and spreadsheet

Introduction to the workbook and spreadsheet Excel Tutorial To make the most of this tutorial I suggest you follow through it while sitting in front of a computer with Microsoft Excel running. This will allow you to try things out as you follow along.

More information

LAB 2: DATA FILTERING AND NOISE REDUCTION

LAB 2: DATA FILTERING AND NOISE REDUCTION NAME: LAB SECTION: LAB 2: DATA FILTERING AND NOISE REDUCTION In this exercise, you will use Microsoft Excel to generate several synthetic data sets based on a simplified model of daily high temperatures

More information

LAB 2: DATA FILTERING AND NOISE REDUCTION

LAB 2: DATA FILTERING AND NOISE REDUCTION NAME: LAB TIME: LAB 2: DATA FILTERING AND NOISE REDUCTION In this exercise, you will use Microsoft Excel to generate several synthetic data sets based on a simplified model of daily high temperatures in

More information

Using Excel for Graphical Analysis of Data

Using Excel for Graphical Analysis of Data EXERCISE Using Excel for Graphical Analysis of Data Introduction In several upcoming experiments, a primary goal will be to determine the mathematical relationship between two variable physical parameters.

More information

An introduction to plotting data

An introduction to plotting data An introduction to plotting data Eric D. Black California Institute of Technology February 25, 2014 1 Introduction Plotting data is one of the essential skills every scientist must have. We use it on a

More information

How To Test Your Code A CS 1371 Homework Guide

How To Test Your Code A CS 1371 Homework Guide Introduction After you have completed each drill problem, you should make it a habit to test your code. There are good ways of testing your code and there are bad ways of testing your code. This guide

More information

DISCOVERING THE NATURE OF PERIODIC DATA: II. ANALYZING DATA AND JUDGING THE GOODNESS OF FIT USING RESIDUALS

DISCOVERING THE NATURE OF PERIODIC DATA: II. ANALYZING DATA AND JUDGING THE GOODNESS OF FIT USING RESIDUALS DISCOVERING THE NATURE OF PERIODIC DATA: II. ANALYZING DATA AND JUDGING THE GOODNESS OF FIT USING RESIDUALS Scott A. Sinex and George S. Perkins Prince George s Community College Generating periodic data

More information

Lecture 1: MATLAB - advanced use cases

Lecture 1: MATLAB - advanced use cases Lecture 1: MATLAB - advanced use cases Data handling and analysis Juha Kuortti and Heikki Apiola February 10, 2018 Aalto University juha.kuortti@aalto.fi Importing and exporting data: basics Creating and

More information

Using Excel for Graphical Analysis of Data

Using Excel for Graphical Analysis of Data Using Excel for Graphical Analysis of Data Introduction In several upcoming labs, a primary goal will be to determine the mathematical relationship between two variable physical parameters. Graphs are

More information

LAB 6: LOOP STATEMENTS

LAB 6: LOOP STATEMENTS NAME: LAB 6: LOOP STATEMENTS This laboratory exercise will involve you writing your first loop statements in MATLAB functions and scripts. Your final code will be handed in via a single zip file following

More information

Experiment 1 CH Fall 2004 INTRODUCTION TO SPREADSHEETS

Experiment 1 CH Fall 2004 INTRODUCTION TO SPREADSHEETS Experiment 1 CH 222 - Fall 2004 INTRODUCTION TO SPREADSHEETS Introduction Spreadsheets are valuable tools utilized in a variety of fields. They can be used for tasks as simple as adding or subtracting

More information

Math 1525: Lab 4 Spring 2002

Math 1525: Lab 4 Spring 2002 Math 1525: Lab 4 Spring 2 Modeling---Best Fit Function: In this lab we will see how to use Excel to find a "best-fit equation" or model for your data. Example: When a new motion picture comes out, some

More information

Graphical Analysis of Data using Microsoft Excel [2016 Version]

Graphical Analysis of Data using Microsoft Excel [2016 Version] Graphical Analysis of Data using Microsoft Excel [2016 Version] Introduction In several upcoming labs, a primary goal will be to determine the mathematical relationship between two variable physical parameters.

More information

Microscopic Measurement

Microscopic Measurement Microscopic Measurement Estimating Specimen Size : The area of the slide that you see when you look through a microscope is called the " field of view ". If you know the diameter of your field of view,

More information

Here is the data collected.

Here is the data collected. Introduction to Scientific Analysis of Data Using Spreadsheets. Computer spreadsheets are very powerful tools that are widely used in Business, Science, and Engineering to perform calculations and record,

More information

1 Introduction to Using Excel Spreadsheets

1 Introduction to Using Excel Spreadsheets Survey of Math: Excel Spreadsheet Guide (for Excel 2007) Page 1 of 6 1 Introduction to Using Excel Spreadsheets This section of the guide is based on the file (a faux grade sheet created for messing with)

More information

Starting a New Matlab m.file. Matlab m.files. Matlab m.file Editor/Debugger. The clear all Command. Our Program So Far

Starting a New Matlab m.file. Matlab m.files. Matlab m.file Editor/Debugger. The clear all Command. Our Program So Far Matlab m.files It is not very convenient to do work directly in the Matlab Command Line Window since: It is hard to remember what we typed. It is hard to edit. It all disappears when we close Matlab. Solution:

More information

GRAPHS AND STATISTICS Residuals Common Core Standard

GRAPHS AND STATISTICS Residuals Common Core Standard B Graphs and Statistics, Lesson 7, Residuals (r. 2018) GRAPHS AND STATISTICS Residuals Common Core Standard Next Generation Standard S-ID.B.6b Informally assess the fit of a function by plotting and analyzing

More information

Chapter 2 Assignment (due Thursday, April 19)

Chapter 2 Assignment (due Thursday, April 19) (due Thursday, April 19) Introduction: The purpose of this assignment is to analyze data sets by creating histograms and scatterplots. You will use the STATDISK program for both. Therefore, you should

More information

Making Tables and Graphs with Excel. The Basics

Making Tables and Graphs with Excel. The Basics Making Tables and Graphs with Excel The Basics Where do my IV and DV go? Just like you would create a data table on paper, your IV goes in the leftmost column and your DV goes to the right of the IV Enter

More information

A Basic Guide to Using Matlab in Econ 201FS

A Basic Guide to Using Matlab in Econ 201FS A Basic Guide to Using Matlab in Econ 201FS Matthew Rognlie February 1, 2010 Contents 1 Finding Matlab 2 2 Getting Started 2 3 Basic Data Manipulation 3 4 Plotting and Finding Returns 4 4.1 Basic Price

More information

= 3 + (5*4) + (1/2)*(4/2)^2.

= 3 + (5*4) + (1/2)*(4/2)^2. Physics 100 Lab 1: Use of a Spreadsheet to Analyze Data by Kenneth Hahn and Michael Goggin In this lab you will learn how to enter data into a spreadsheet and to manipulate the data in meaningful ways.

More information

Programming. Dr Ben Dudson University of York

Programming. Dr Ben Dudson University of York Programming Dr Ben Dudson University of York Outline Last lecture covered the basics of programming and IDL This lecture will cover More advanced IDL and plotting Fortran and C++ Programming techniques

More information

Sinusoidal Data Worksheet

Sinusoidal Data Worksheet Sinusoidal Data Worksheet West Coast Tidal Analysis: Fill in the following chart for the low tide and high tides per day for the researched two-day period (so four low tides and high tides all inter-distributed)

More information

Chapter 2 Assignment (due Thursday, October 5)

Chapter 2 Assignment (due Thursday, October 5) (due Thursday, October 5) Introduction: The purpose of this assignment is to analyze data sets by creating histograms and scatterplots. You will use the STATDISK program for both. Therefore, you should

More information

Exercise 3: Query, Visualize, and Edit Data Using ODM Tools

Exercise 3: Query, Visualize, and Edit Data Using ODM Tools Exercise 3: Query, Visualize, and Edit Data Using ODM Tools Jeffery S. Horsburgh 1 4-25-2012 Objectives In this exercise you will learn how Query, Visualize, and Edit data in an ODM database using the

More information

Survey of Math: Excel Spreadsheet Guide (for Excel 2016) Page 1 of 9

Survey of Math: Excel Spreadsheet Guide (for Excel 2016) Page 1 of 9 Survey of Math: Excel Spreadsheet Guide (for Excel 2016) Page 1 of 9 Contents 1 Introduction to Using Excel Spreadsheets 2 1.1 A Serious Note About Data Security.................................... 2 1.2

More information

Year Hourly $1.15 $1.30 $1.60 $2.20 $2.90 $3.10 $3.35

Year Hourly $1.15 $1.30 $1.60 $2.20 $2.90 $3.10 $3.35 Math 48C Mathematical Models A model is a representation of an object or a process. For example, in my middle school science class, I created a model of the solar system by using different-sized Styrofoam

More information

Dr Richard Greenaway

Dr Richard Greenaway SCHOOL OF PHYSICS, ASTRONOMY & MATHEMATICS 4PAM1008 MATLAB 1 Introduction to MATLAB Dr Richard Greenaway 1 Introduction to MATLAB 1.1 What is MATLAB? MATLAB is a high-level technical computing language

More information

COMP : Practical 6 Buttons and First Script Instructions

COMP : Practical 6 Buttons and First Script Instructions COMP126-2006: Practical 6 Buttons and First Script Instructions In Flash, we are able to create movies. However, the Flash idea of movie is not quite the usual one. A normal movie is (technically) a series

More information

Chapter 2: Linear Equations and Functions

Chapter 2: Linear Equations and Functions Chapter 2: Linear Equations and Functions Chapter 2: Linear Equations and Functions Assignment Sheet Date Topic Assignment Completed 2.1 Functions and their Graphs and 2.2 Slope and Rate of Change 2.1

More information

Tips and Guidance for Analyzing Data. Executive Summary

Tips and Guidance for Analyzing Data. Executive Summary Tips and Guidance for Analyzing Data Executive Summary This document has information and suggestions about three things: 1) how to quickly do a preliminary analysis of time-series data; 2) key things to

More information

Charts in Excel 2003

Charts in Excel 2003 Charts in Excel 2003 Contents Introduction Charts in Excel 2003...1 Part 1: Generating a Basic Chart...1 Part 2: Adding Another Data Series...3 Part 3: Other Handy Options...5 Introduction Charts in Excel

More information

DATA PLOTTING WITH MATLAB

DATA PLOTTING WITH MATLAB DATA PLOTTING WITH MATLAB Prof. Marco Pilotti marco.pilotti@ing.unibs.it Dr. Giulia Valerio giulia.valerio@ing.unibs.it Giulia Valerio 7Marzo 2014 1 1. WHY MATLAB? WHY MATLAB? Matlab is a high-level programming

More information

Math 121 Project 4: Graphs

Math 121 Project 4: Graphs Math 121 Project 4: Graphs Purpose: To review the types of graphs, and use MS Excel to create them from a dataset. Outline: You will be provided with several datasets and will use MS Excel to create graphs.

More information

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below.

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below. Graphing in Excel featuring Excel 2007 1 A spreadsheet can be a powerful tool for analyzing and graphing data, but it works completely differently from the graphing calculator that you re used to. If you

More information

Studying in the Sciences

Studying in the Sciences Organising data and creating figures (charts and graphs) in Excel What is in this guide Familiarisation with Excel (for beginners) Setting up data sheets Creating a chart (graph) Formatting the chart Creating

More information

General Program Description

General Program Description General Program Description This program is designed to interpret the results of a sampling inspection, for the purpose of judging compliance with chosen limits. It may also be used to identify outlying

More information

Intro to Matlab for GEOL 1520: Ocean Circulation and Climate or, Notions for the Motions of the Oceans

Intro to Matlab for GEOL 1520: Ocean Circulation and Climate or, Notions for the Motions of the Oceans Intro to Matlab for GEOL 50: Ocean Circulation and Climate or, Notions for the Motions of the Oceans Baylor Fox-Kemper January 6, 07 Contacts The professor for this class is: Baylor Fox-Kemper baylor@brown.edu

More information

MATLAB 1. Jeff Freymueller September 24, 2009

MATLAB 1. Jeff Freymueller September 24, 2009 MATLAB 1 Jeff Freymueller September 24, 2009 MATLAB IDE MATLAB Edi?ng Window We don t need no steenkin GUI You can also use MATLAB without the fancy user interface, just a command window. Why? You can

More information

A. Using the data provided above, calculate the sampling variance and standard error for S for each week s data.

A. Using the data provided above, calculate the sampling variance and standard error for S for each week s data. WILD 502 Lab 1 Estimating Survival when Animal Fates are Known Today s lab will give you hands-on experience with estimating survival rates using logistic regression to estimate the parameters in a variety

More information

Error Analysis, Statistics and Graphing

Error Analysis, Statistics and Graphing Error Analysis, Statistics and Graphing This semester, most of labs we require us to calculate a numerical answer based on the data we obtain. A hard question to answer in most cases is how good is your

More information

The Interpolating Polynomial

The Interpolating Polynomial Math 45 Linear Algebra David Arnold David-Arnold@Eureka.redwoods.cc.ca.us Abstract A polynomial that passes through a given set of data points is called an interpolating polynomial. In this exercise you

More information

STRAIGHT LINE GRAPHS THE COORDINATES OF A POINT. The coordinates of any point are written as an ordered pair (x, y)

STRAIGHT LINE GRAPHS THE COORDINATES OF A POINT. The coordinates of any point are written as an ordered pair (x, y) THE COORDINATES OF A POINT STRAIGHT LINE GRAPHS The coordinates of any point are written as an ordered pair (x, y) Point P in the diagram has coordinates (2, 3). Its horizontal distance along the x axis

More information

Welcome to class! Put your Create Your Own Survey into the inbox. Sign into Edgenuity. Begin to work on the NC-Math I material.

Welcome to class! Put your Create Your Own Survey into the inbox. Sign into Edgenuity. Begin to work on the NC-Math I material. Welcome to class! Put your Create Your Own Survey into the inbox. Sign into Edgenuity. Begin to work on the NC-Math I material. Unit Map - Statistics Monday - Frequency Charts and Histograms Tuesday -

More information

USER's GUIDE for PLOT_FINDIF_1

USER's GUIDE for PLOT_FINDIF_1 USER's GUIDE for PLOT_FINDIF_1 S. T. Bolmer & R. A. Stephen November 2004 Page 1 PLOT_FINDIF_1 Plot_findif_1.m is a MATLAB 6 script, which is used to plot output from the Woods Hole Oceanographic Institution

More information

Unit II Graphing Functions and Data

Unit II Graphing Functions and Data Unit II Graphing Functions and Data These Materials were developed for use at and neither nor the author, Mark Schneider, assume any responsibility for their suitability or completeness for use elsewhere

More information

Fourier Transforms and Signal Analysis

Fourier Transforms and Signal Analysis Fourier Transforms and Signal Analysis The Fourier transform analysis is one of the most useful ever developed in Physical and Analytical chemistry. Everyone knows that FTIR is based on it, but did one

More information

ENV Laboratory 2: Graphing

ENV Laboratory 2: Graphing Name: Date: Introduction It is often said that a picture is worth 1,000 words, or for scientists we might rephrase it to say that a graph is worth 1,000 words. Graphs are most often used to express data

More information

Excel Manual X Axis Labels Below Chart 2010

Excel Manual X Axis Labels Below Chart 2010 Excel Manual X Axis Labels Below Chart 2010 When the X-axis is crowded with labels one way to solve the problem is to split the labels for to use two rows of labels enter the two rows of X-axis labels

More information

Appendix C. Vernier Tutorial

Appendix C. Vernier Tutorial C-1. Vernier Tutorial Introduction: In this lab course, you will collect, analyze and interpret data. The purpose of this tutorial is to teach you how to use the Vernier System to collect and transfer

More information

Systems & Control Lab.-Manual

Systems & Control Lab.-Manual German University in Cairo - GUC Information Engineering and Technology Electronics, Communications, & Networks Systems & Control Lab.-Manual (3) A brief overview of: By: Eng. Moustafa Adly ON-OFF control

More information

Navigating In Uncharted Waters Of Microsoft Excel Charts

Navigating In Uncharted Waters Of Microsoft Excel Charts 1 of 8 Navigating In Uncharted Waters Of Microsoft Excel Charts Translating Excel spreadsheets is pretty easy. All you need to do is translate text in individual cells and then format the spreadsheet for

More information

0 Graphical Analysis Use of Excel

0 Graphical Analysis Use of Excel Lab 0 Graphical Analysis Use of Excel What You Need To Know: This lab is to familiarize you with the graphing ability of excels. You will be plotting data set, curve fitting and using error bars on the

More information

ENGR Fall Exam 1 PRACTICE EXAM

ENGR Fall Exam 1 PRACTICE EXAM ENGR 13100 Fall 2012 Exam 1 PRACTICE EXAM INSTRUCTIONS: Duration: 60 minutes Keep your eyes on your own work! Keep your work covered at all times! 1. Each student is responsible for following directions.

More information

Data Analysis 1.2 Hoskins Lab Last Modified 03/29/2017 Chris DeCiantis

Data Analysis 1.2 Hoskins Lab Last Modified 03/29/2017 Chris DeCiantis Table of Contents How to convert Tiff to Glimpse files:.... Convert Tiff to Glimpse files in MatLab... Create a mapping file.... Bead preparation for Mapping.... How to create a mapping file... How to

More information

Introduction: EViews. Dr. Peerapat Wongchaiwat

Introduction: EViews. Dr. Peerapat Wongchaiwat Introduction: EViews Dr. Peerapat Wongchaiwat wongchaiwat@hotmail.com Today s Workshop Basic grasp of how EViews manages data Creating Workfiles Importing data Running regressions Performing basic tests

More information

ASSIGNMENT 3 Cobalt data T:\sys502\arcview\projects\Cobalt_2 T:\sys502\arcview\ projects\cobalt_2\cobalt_2.mxd T:\sys502\arcview\projects\Cobalt_2

ASSIGNMENT 3 Cobalt data T:\sys502\arcview\projects\Cobalt_2 T:\sys502\arcview\ projects\cobalt_2\cobalt_2.mxd T:\sys502\arcview\projects\Cobalt_2 ESE 502 Tony E. Smith ASSIGNMENT 3 (1) In this study you will use some of the Cobalt data from Vancouver Island Geochemistry data set in B&G (pp.150, 202) to carry out essentially the same type of analysis

More information

MATH2070: LAB 3: Roots of Equations

MATH2070: LAB 3: Roots of Equations MATH2070: LAB 3: Roots of Equations 1 Introduction Introduction Exercise 1 A Sample Problem Exercise 2 The Bisection Idea Exercise 3 Programming Bisection Exercise 4 Variable Function Names Exercise 5

More information

GRETL FOR TODDLERS!! CONTENTS. 1. Access to the econometric software A new data set: An existent data set: 3

GRETL FOR TODDLERS!! CONTENTS. 1. Access to the econometric software A new data set: An existent data set: 3 GRETL FOR TODDLERS!! JAVIER FERNÁNDEZ-MACHO CONTENTS 1. Access to the econometric software 3 2. Loading and saving data: the File menu 3 2.1. A new data set: 3 2.2. An existent data set: 3 2.3. Importing

More information

Dr. Iyad Jafar. Adapted from the publisher slides

Dr. Iyad Jafar. Adapted from the publisher slides Computer Applications Lab Lab 6 Plotting Chapter 5 Sections 1,2,3,8 Dr. Iyad Jafar Adapted from the publisher slides Outline xy Plotting Functions Subplots Special Plot Types Three-Dimensional Plotting

More information

MATLAB Examples. Interpolation and Curve Fitting. Hans-Petter Halvorsen

MATLAB Examples. Interpolation and Curve Fitting. Hans-Petter Halvorsen MATLAB Examples Interpolation and Curve Fitting Hans-Petter Halvorsen Interpolation Interpolation is used to estimate data points between two known points. The most common interpolation technique is Linear

More information

Lab 6: Graphical Methods

Lab 6: Graphical Methods Lab 6: Graphical Methods 6.1 Introduction EGR 53L - Fall 2009 Lab this week is going to introduce graphical solution and presentation techniques as well as surface plots. 6.2 Resources The additional resources

More information

Here is Kellogg s custom menu for their core statistics class, which can be loaded by typing the do statement shown in the command window at the very

Here is Kellogg s custom menu for their core statistics class, which can be loaded by typing the do statement shown in the command window at the very Here is Kellogg s custom menu for their core statistics class, which can be loaded by typing the do statement shown in the command window at the very bottom of the screen: 4 The univariate statistics command

More information

6 Using Technology Wisely

6 Using Technology Wisely 6 Using Technology Wisely Concepts: Advantages and Disadvantages of Graphing Calculators How Do Calculators Sketch Graphs? When Do Calculators Produce Incorrect Graphs? The Greatest Integer Function Graphing

More information

INTRODUCTION TO THE MATLAB APPLICATION DESIGNER EXERCISES

INTRODUCTION TO THE MATLAB APPLICATION DESIGNER EXERCISES INTRODUCTION TO THE MATLAB APPLICATION DESIGNER EXERCISES Eric Peasley, Department of Engineering Science, University of Oxford version 4.6, 2018 MATLAB Application Exercises In these exercises you will

More information

Math 1201 Unit 5: Relations & Functions. Ch. 5 Notes

Math 1201 Unit 5: Relations & Functions. Ch. 5 Notes Math 1201 Unit 5: Relations & Functions Read Building On, Big Ideas, and New Vocabulary, p. 254 text. 5.1 Representing Relations (0.5 class) Read Lesson Focus p. 256 text. Outcomes Ch. 5 Notes 1. Define

More information

Cumulus Main Window. The wind speed indicator shows three values:

Cumulus Main Window. The wind speed indicator shows three values: Page 1 of 5 Cumulus Main Window The main window in Cumulus displays all the current weather data, updated as it is received from the weather station. The heading on this page is configurable by selecting

More information

Appendix A. Introduction to MATLAB. A.1 What Is MATLAB?

Appendix A. Introduction to MATLAB. A.1 What Is MATLAB? Appendix A Introduction to MATLAB A.1 What Is MATLAB? MATLAB is a technical computing environment developed by The Math- Works, Inc. for computation and data visualization. It is both an interactive system

More information

Ingredients of Change: Nonlinear Models

Ingredients of Change: Nonlinear Models Chapter 2 Ingredients of Change: Nonlinear Models 2.1 Exponential Functions and Models As we begin to consider functions that are not linear, it is very important that you be able to draw scatter plots,

More information

Graphing on Excel. Open Excel (2013). The first screen you will see looks like this (it varies slightly, depending on the version):

Graphing on Excel. Open Excel (2013). The first screen you will see looks like this (it varies slightly, depending on the version): Graphing on Excel Open Excel (2013). The first screen you will see looks like this (it varies slightly, depending on the version): The first step is to organize your data in columns. Suppose you obtain

More information

Lecture 8. Divided Differences,Least-Squares Approximations. Ceng375 Numerical Computations at December 9, 2010

Lecture 8. Divided Differences,Least-Squares Approximations. Ceng375 Numerical Computations at December 9, 2010 Lecture 8, Ceng375 Numerical Computations at December 9, 2010 Computer Engineering Department Çankaya University 8.1 Contents 1 2 3 8.2 : These provide a more efficient way to construct an interpolating

More information

Scripting Tutorial - Lesson 2

Scripting Tutorial - Lesson 2 Home TI-Nspire Authoring TI-Nspire Scripting HQ Scripting Tutorial - Lesson 2 Scripting Tutorial - Lesson 2 Download supporting files for this tutorial Texas Instruments TI-Nspire Scripting Support Page

More information

GRAPHING BAYOUSIDE CLASSROOM DATA

GRAPHING BAYOUSIDE CLASSROOM DATA LUMCON S BAYOUSIDE CLASSROOM GRAPHING BAYOUSIDE CLASSROOM DATA Focus/Overview This activity allows students to answer questions about their environment using data collected during water sampling. Learning

More information

Requirements Analysis (big part of Software Engineering) defines. Audience. Purpose. Constraints (e.g. download time limits, browsers to support)

Requirements Analysis (big part of Software Engineering) defines. Audience. Purpose. Constraints (e.g. download time limits, browsers to support) CS3012 Website Design Process 1. Site Planning A static site development plan is intended to expose the need for formal thinking and to bring everyone on a project into sync over the fundamentals. Requirements

More information

Correlation. January 12, 2019

Correlation. January 12, 2019 Correlation January 12, 2019 Contents Correlations The Scattterplot The Pearson correlation The computational raw-score formula Survey data Fun facts about r Sensitivity to outliers Spearman rank-order

More information

CS 221 Lecture. Tuesday, 13 September 2011

CS 221 Lecture. Tuesday, 13 September 2011 CS 221 Lecture Tuesday, 13 September 2011 Today s Agenda 1. Announcements 2. Boolean Expressions and logic 3. MATLAB Fundamentals 1. Announcements First in-class quiz: Tuesday 4 October Lab quiz: Thursday

More information

Introduction to Matlab

Introduction to Matlab Technische Universität München WT 21/11 Institut für Informatik Prof Dr H-J Bungartz Dipl-Tech Math S Schraufstetter Benjamin Peherstorfer, MSc October 22nd, 21 Introduction to Matlab Engineering Informatics

More information

MPhil computer package lesson: getting started with Eviews

MPhil computer package lesson: getting started with Eviews MPhil computer package lesson: getting started with Eviews Ryoko Ito (ri239@cam.ac.uk, itoryoko@gmail.com, www.itoryoko.com ) 1. Creating an Eviews workfile 1.1. Download Wage data.xlsx from my homepage:

More information

Patterning Math Lab 4a

Patterning Math Lab 4a Patterning Math Lab 4a This lab is an exploration of transformations of functions, a topic covered in your Precalculus textbook in Section 1.5. As you do the exercises in this lab you will be closely reading

More information

NaN is used several ways in MATLAB. Working with NaN requires some attention to detail. Missing data Result of some computations...

NaN is used several ways in MATLAB. Working with NaN requires some attention to detail. Missing data Result of some computations... MATLAB @ Work Working with Nan Richard Johnson NaN is used several ways in MATLAB. Working with NaN requires some attention to detail. Missing data... 1 Result of some computations... 3 Statistics and

More information

LAB #1: DESCRIPTIVE STATISTICS WITH R

LAB #1: DESCRIPTIVE STATISTICS WITH R NAVAL POSTGRADUATE SCHOOL LAB #1: DESCRIPTIVE STATISTICS WITH R Statistics (OA3102) Lab #1: Descriptive Statistics with R Goal: Introduce students to various R commands for descriptive statistics. Lab

More information

Graphing and Equations

Graphing and Equations Graphing and Equations Plotting Functions (Graphing) Let's see how to plot the graphs of functions. If we want to graph the function f(x) on the interval [a,b] then we type in: plot(f(x), x=a..b) That

More information

ECE-205 Lab 1. Introduction to Simulink and Matlab

ECE-205 Lab 1. Introduction to Simulink and Matlab ECE-205 Lab 1 Introduction to Simulink and Matlab Throughout this lab we will focus on determining the behavior of a first order system written in the standard form dy( t) y( t) Kx( t) dt where xt () is

More information

Information for Candidates. Test Format

Information for Candidates. Test Format Information for Candidates Test Format The MathWorks Certified MATLAB Professional (MCMP) exam consists of two sections: 25 multiplechoice questions and 8 performance-based problems. MATLAB access is not

More information

Number of Regions An Introduction to the TI-Nspire CAS Student Worksheet Created by Melissa Sutherland, State University of New York at Geneseo

Number of Regions An Introduction to the TI-Nspire CAS Student Worksheet Created by Melissa Sutherland, State University of New York at Geneseo 1 Name Number of Regions An Introduction to the TI-Nspire CAS Student Worksheet Created by Melissa Sutherland, State University of New York at Geneseo Below you will find copies of the notes provided on

More information

Using Kingdom Suite for 3D Horizon/Fault Interpretation Parts 3 & 4 - Horizon Interpretation and Correlation

Using Kingdom Suite for 3D Horizon/Fault Interpretation Parts 3 & 4 - Horizon Interpretation and Correlation Using Kingdom Suite for 3D Horizon/Fault Interpretation Parts 3 & 4 - Horizon Interpretation and Correlation Wilson (2010) 1 A footnote to last week's exercise Double Vision? - Last week when you were

More information

Homework 1 Excel Basics

Homework 1 Excel Basics Homework 1 Excel Basics Excel is a software program that is used to organize information, perform calculations, and create visual displays of the information. When you start up Excel, you will see the

More information

Chemistry Excel. Microsoft 2007

Chemistry Excel. Microsoft 2007 Chemistry Excel Microsoft 2007 This workshop is designed to show you several functionalities of Microsoft Excel 2007 and particularly how it applies to your chemistry course. In this workshop, you will

More information

=.1( sin(2πx/24) y) y(0) = 70.

=.1( sin(2πx/24) y) y(0) = 70. Differential Equations, Spring 2017 Computer Project 2, Due 11:30 am, Friday, March 10 The goal of this project is to implement the Euler Method and the Improved Euler Method, and to use these methods

More information

3.1 Graphing Relationships

3.1 Graphing Relationships 3.1 Graphing Relationships Can you think of a situation which these graphs could represent? 3.1 Graphing Relationships 1. Match simple graphs with situations. 2. Graph a relationship. Displaying trends,

More information

Chapter 4 Graphing Linear Equations and Functions

Chapter 4 Graphing Linear Equations and Functions Chapter 4 Graphing Linear Equations and Functions 4.1 Coordinates and Scatter plots on the calculator: On the graph paper below please put the following items: x and y axis, origin,quadrant numbering system,

More information

Flow Control and Functions

Flow Control and Functions Flow Control and Functions Script files If's and For's Basics of writing functions Checking input arguments Variable input arguments Output arguments Documenting functions Profiling and Debugging Introduction

More information

How to use the SATURN Observation Network: Endurance Stations Site: Table of Contents

How to use the SATURN Observation Network: Endurance Stations Site: Table of Contents How to use the SATURN Observation Network: Endurance Stations Site: Table of Contents Preface... 2 Introduction to the SATURN Interface... 3 Fixed station user interface... 5 The Recent Tab... 6 Reading

More information