CS 401: Applied Scientific Computing with MATLAB Andrew Pershing 3134 Snee Hall 255-5552.

Slides:



Advertisements
Similar presentations
Project Lead the Way An Orientation American High School.
Advertisements

Introduction to MATLAB Northeastern University: College of Computer and Information Science Co-op Preparation University (CPU) 10/20/2003.
CS1101: Programming Methodology
Where to Go Next. Outline Announcements: –Homework IV due Wed. 10/8 by 5, by Extra week for projects Absolutely no exceptions! Answers will be.
Math Xa Introduction to Functions and Calculus Fall 2008 Introductory Meeting John Hall.
June 13, Introduction to CS II Data Structures Hongwei Xi Comp. Sci. Dept. Boston University.
CS 232 Geometric Algorithms: Lecture 1 Shang-Hua Teng Department of Computer Science, Boston University.
CMSC 132: Object-Oriented Programming II
CS 331 / CMPE 334 – Intro to AI CS 531 / CMPE AI Course Outline.
CIS 404: Survey and Use of Software Libraries for Scientific Computing Andrew Pershing 3134 Snee Hall
CMSC 132: Object-Oriented Programming II Nelson Padua-Perez William Pugh Department of Computer Science University of Maryland, College Park.
0 CS100J September 2007 CS100J: 12 weeks programming using Java, 2 using Matlab. David Gries. CS100M: 7 weeks of Matlab and 7 of Java. Daisy Fan. CS100H:
CS101- Lecture 11 CS101 Fall 2004 Course Introduction Professor Douglas Moody –Monday – 12:00-1:40 – – –Web Site: websupport1.citytech.cuny.edu.
CS 232 Geometric Algorithms: Lecture 1 Shang-Hua Teng Department of Computer Science, Boston University.
CS503: Tenth Lecture, Fall 2008 Review Michael Barnathan.
MIS 470: Information Systems Project Yong Choi School of Business Administration CSU, Bakersfield.
CSC 171 – FALL 2004 COMPUTER PROGRAMMING LECTURE 0 ADMINISTRATION.
CIS 401: Applied Scientific Computing with MATLAB Andrew Pershing 3134 Snee Hall
1 MA375 Introduction To Numerical Computing Fall 2003 Prof. Tim Warburton
MATH 330: Ordinary Differential Equations Fall 2014.
This is…. –Contains syllabus, lecture notes, examples, homework Office Hours –Tuesday & Wednesday, 3-4.
Where to Go Next. Outline Announcements: –Homework IV due Friday by 5, by Absolutely no exceptions! Answers will be posted on web I will be available.
Introduction to Programming Using C++ Dr. Mohamed Khafagy.
Spring 2012 MATH 250: Calculus III. Course Topics Review: Parametric Equations and Polar Coordinates Vectors and Three-Dimensional Analytic Geometry.
CS 415: Programming Languages Course Introduction Aaron Bloomfield Fall 2005.
Computer Science 102 Data Structures and Algorithms V Fall 2009 Lecture 1: administrative details Professor: Evan Korth New York University 1.
COMP 151: Computer Programming II Spring Course Topics Review of Java and basics of software engineering (3 classes. Chapters 1 and 2) Recursion.
9/5/2015 Spring Introduction to Engineering 161 Engineering Practices II Joe Mixsell Phone:
1 CS1110 Fall 2010 Instructors: David Gries & Lillian Lee CS1112: Matlab No prior programming experience One semester of calculus Math- & engineering-
MATH 310, FALL 2003 (Combinatorial Problem Solving) MoWeFr 1:20 McGregory 214.
Syllabus and Scheduling Kristen Traynor, Political Science Andrea Maxwell, Art History.
Welcome to CS 3260 Dennis A. Fairclough. Overview Course Canvas Web Site Course Materials Lab Assignments Homework Grading Exams Withdrawing from Class.
CS 160 Introduction to Computer Science Andrew Scholer
Syllabus and Class Policies MATH 130: Summer 2014.
CPS120: Introduction to Computer Science Fall: 2002 Instructor: Paul J. Millis.
CS 404: Survey and Use of Software Libraries for Scientific Computing Andrew Pershing 3134 Snee Hall
CS355 Advanced Computer Architecture Fatima Khan Prince Sultan University, College for Women.
CS 403: Development of Scientific Computing Programs Andrew Pershing 3134 Snee Hall
Finance. Overview of Financial Management Introduction Keys to Success Class Structure - Syllabus Text – Financial Management: Core Concepts – 3 rd Ed.
HP103: Intro to Matlab II HP 101 – MATLAB Wednesday, 1/14/2014
CS 140 Computer Programming (I) Second semester (3 credits) Imam Mohammad bin Saud Islamic University College of Computer Science and Information.
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
Introduction to Data Structures
Computer Science 102 Data Structures and Algorithms CSCI-UA.0102 Fall 2012 Lecture 1: administrative details Professor: Evan Korth New York University.
Math 110: Pre-calculus I Instructor: Mike Panitz Monday, Wednesday, 1:15pm – 3:20pm Room 250
CGS 1000-FALL 2009 Intro to Computers & Tech. Topics  Syllabus  Faculty Website  Campus Cruiser Introduction to Computers and Technology.
Fall 2014 MATH 250: Calculus III. Course Topics Review: Parametric Equations and Polar Coordinates Vectors and Three-Dimensional Analytic Geometry.
This is…. –Contains syllabus, lecture notes, examples, homework Office Hours –Monday & Tuesday, 11-1 in.
1 CS1100 Fall Instructor: David Gries CS100M: Matlab No prior programming experience One semester of calculus Math & engineering type problems CS100J:
1 CS1110 Fall Instructors: David Gries & Lillian Lee CS1112: Matlab No prior programming experience One semester of calculus Math- & engineering-
CS 402: Scientific Visualization with MATLAB with MATLAB Andrew Pershing 3134 Snee Hall
CS 139 – Algorithm Development MS. NANCY HARRIS LECTURER, DEPARTMENT OF COMPUTER SCIENCE.
Matlab Fundamentals: working with data.
CS Introduction to Computer Science Spring 2011 Dr. Angela Guercio (
CS151 Introduction to Digital Design Noura Alhakbani Prince Sultan University, College for Women.
EE 372: Engineering Electromagnetics II Spring 2016.
Data Structures and Algorithms in Java AlaaEddin 2012.
Introduction to Financial Management. Overview of Financial Management Introduction Keys to Success Recitations Class Structure - Syllabus Text – Financial.
CIS 401: Applied Scientific Computing with MATLAB Andrew Pershing 3134 Snee Hall
1 CS100J Spring Instructor: David Gries CS100M: Matlab No prior programming experience One semester of calculus Math & engineering type problems.
CIS 403: Development of Scientific Computing Programs Andrew Pershing 3134 Snee Hall
Syllabus and Class Policies MATH 130: Summer 2016.
CS140 – Computer Programming 1 Course Overview First Semester – Fall /1438 – 2016/2017 CS140 - Computer Programming 11.
Building Comfort With MATLAB
電腦圖學 Computer Graphic with Programming
MATH/COMP 340: Numerical Analysis I
Computer Science 102 Data Structures CSCI-UA
Welcome to CS 1340! Computing for scientists.
This is….
CS 232 Geometric Algorithms: Lecture 1
Presentation transcript:

CS 401: Applied Scientific Computing with MATLAB Andrew Pershing 3134 Snee Hall

Outline Course Description Details Policies Intro to CIS Tools Curriculum Role of Computing in Science and Engineering Basic Concepts

Course Goals This course will: –Introduce the basic functionality of MATLAB –Demonstrate its utility in scientific research –Identify interesting concepts and useful techniques in scientific computing By the end of the course, you should have the skills necessary to apply MATLAB to your research and learn how to extend its capabilities

Syllabus 1. Course Intro and Basic Concepts 2. Intro to Matlab: the workspace 3. Matlab fundamentals: arrays, & simple plots 4. Matlab programming: loops and conditionals 5. Text processing and a survey of Matlab 6. Applied Scientific Computing I: Simulation 7. Applied Scientific Computing II: Data analysis 8. Improving performance: vectorization 9. Intro to numerical methods (more about * and \) 10. Advanced data objects (cell-arrays and structs) 11. 3D plots 12. Loose ends and where to go from here

Course Ungoals This course will NOT: –Teach you how to program (try CS 100m) You should be comfortable writing programs in some language and be familiar with the following concepts: –Programs vs. algorithms –Iteration –Conditionals and logic –Recursion –Subroutines, variables, and scope –Teach you numerical methods (CS 42X, 62X) –Cover everything in MATLAB

–Contains syllabus, lecture notes, examples, homework Office Hours –Monday & Tuesday, 11-1 in 3134 Snee (or by appointment) Registration: –get my signature or CS Undergrad office (303 Upson) –S/U only, 1 credit –Last day to add/drop: Monday, September 10 ! Course Business:

Requirements Reference Text: Hanselman and Littlefield Mastering Matlab 6 –No required reading, but this is a great reference Find a computer with MATLAB (v6 preferred, but v5 is OK): –Check departmental labs--good site licensing for Cornell machines –ACCEL in Carpenter Hall –Upson, Carpenter, and Dickson Labs –Buy student version

4 assignments: 1 per week, due Wednesday, 5PM by If you complete each assignment on time and demonstrate a basic command of the material, you will pass! Course policies are strict: –A direct consequence of the “mini-course” format This course operates as a contract between you and me Course Policies

I agree to: –Begin and end lecture on time –Put lecture notes on website by 10PM prior to lecture –Be available during office hours –Make the assignments of reasonable length (2-4 hours) focusing on material from lectures The Contract

By registering for the course, you agree to: –Arrive on time –Participate in the course by asking questions and coming to office hours –Turn in your assignments on time Late work will not be accepted and will jeopardize you chance of passing! The only exceptions are for documented, university- sanctioned reasons such as severe illness or by prior arrangement made w/ me 3 days before (includes religious holidays, sports, etc.) The Contract

–Cornell University has recognized that computing and information science has emerged as a key enabling discipline vital to nearly all of its scholarly and scientific pursuits. –The Faculty of Computing and Information is founded on the recognition that the ideas and technology of computing and information science are relevant to every academic discipline. –We are united in the need to bring together a core of faculty in this field from across the traditional colleges. CIS and FCI

CS 401 (should be CIS 401) is the first in a series of courses designed to teach applied scientific computing CIS Tools Curriculum CS Science & Engineering Scientific computing pure applied

CIS Tools Curriculum “Pure” Scientific Computing –Focus is on algorithms for general problems such as optimization, linear systems, differential equations –Concerned with accuracy, stability, and efficiency of these algorithms “Applied” Scientific Computing –How to apply general algorithms to solve scientific problems –Algorithms are “black boxes” that we string together to get our work done

CIS Tools Curriculum Fall: MATLAB –401: the basics –402: visualization (starts October 15) Spring: General tools –403: Developing scientific computer programs (compilers, debuggers, managing large projects) –404: Numerical libraries

Role of Computing in Science and Engineering Scientists have been computing for centuries, well before digital computers Digital computers allow us to do thing faster, but often the ideas are ancient Example: Velocity from pressure data

Geostrophy Measuring the velocity of atmosphere and ocean is difficult, but observing pressure is easy Fortunately, velocity can be determined from pressure using the geostrophic relationship: Pressure gradient = Coriolis force (Earth’s rotation)

Geostrophy An alternative to pressure is sea- surface height SSH can be measured by satellites

Geostrophy Use hydrostatic equation: to introduce SSH (Z) into geostrophic equation:

Geostrophy in MATLAB MATLAB allows us to compute the velocity: in only a few lines Can examine results graphically

So, what’s the point? Theme of the FCI is that computing is general The geostropic calculations are a specific instance of the general scientific computing process.

Scientific Computing Process It is possible to do all of these things in Matlab, and most of them are easier. DataProgramOutput Currents SSHGeostropic eq.U,V,plot Weather T,V,MFinite diff.T,V,M in future Bioinfomatics ATCGCGTA…Search for genesLocation of genes Electronics SignalFFTPlot of spectrum