Where to Go Next. Outline Announcements: –Homework IV due Friday by 5, by e-mail Absolutely no exceptions! Answers will be posted on web I will be available.

Slides:



Advertisements
Similar presentations
MATLAB – A Computational Methods By Rohit Khokher Department of Computer Science, Sharda University, Greater Noida, India MATLAB – A Computational Methods.
Advertisements

Matlab Programming Huajun Wang Department of Earth Sciences, Zhejiang University Jan 25,2012.
Programming Paradigms and languages
1 Using Octave to Introduce Programming to Technical Science Students Nuno C. Marques Francisco Azevedo CENTRIA, DI-
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.
MATLAB Presented By: Nathalie Tacconi Presented By: Nathalie Tacconi Originally Prepared By: Sheridan Saint-Michel Originally Prepared By: Sheridan Saint-Michel.
CSE 115 Week 11 March , Announcements March 26 – Exam 7 March 26 – Exam 7 March 28 – Resign Deadline March 28 – Resign Deadline Lab 7 turned.
COS 323: Computing for the Physical and Social Sciences Szymon Rusinkiewicz.
COMPSCI 125 Spring 2011 Section What is computer science? … the study of the theoretical foundations of information and computation and their implementation.
Working with JavaScript. 2 Objectives Introducing JavaScript Inserting JavaScript into a Web Page File Writing Output to the Web Page Working with Variables.
Ordinary Differential Equations. Outline Announcements: –Homework II: Solutions on web –Homework III: due Wed. by 5, by Structs Differential Equations.
Ordinary Differential Equations. Outline Announcements: –Homework II: Solutions on web –Homework III: due Wed. by 5, by Homework II Differential.
Spring R. Smith - University of St Thomas - Minnesota QMCS 130: Today’s Class Final Exam ReviewFinal Exam Review –Assessment –Exam Format –C –Matlab.
COMS W1004 Introduction to Computer Science June 25, 2008.
CIS 404: Survey and Use of Software Libraries for Scientific Computing Andrew Pershing 3134 Snee Hall
CSC 171 – FALL 2004 COMPUTER PROGRAMMING LECTURE 0 ADMINISTRATION.
CIS 101: Computer Programming and Problem Solving Usman Roshan Department of Computer Science NJIT.
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.
Honors 101, Fall 2006 Please do not sit in back of room! Lots of info on web page Join the mailing list Download Eclipse and start using it Read the text.
This is…. –Contains syllabus, lecture notes, examples, homework Office Hours –Tuesday & Wednesday, 3-4.
Computer Graphics (Fall 2005) COMS 4160, Lecture 2: Review of Basic Math
Introduction to MATLAB Session 1 Prepared By: Dina El Kholy Ahmed Dalal Statistics Course – Biomedical Department -year 3.
CIS Computer Programming Logic
REVIEW 2 Exam History of Computers 1. CPU stands for _______________________. a. Counter productive units b. Central processing unit c. Copper.
Information Retrieval CENG 555 Spring Course Web Page Authoritative source of administrivia In-class announcements generally reflected on Web.
A L I MAM M OHAMMAD B IN S AUD I SLAMIC U NIVERSITY C OLLEGE OF S CIENCES D EPARTMENT OF M ATHEMATICS MATLAB 251 : MATH SOFTWARE Introduction to MATLAB.
Text Processing. Outline Announcements: –Homework I: due Today. by 5, by Discuss on Friday. –Homework II: on web HW I: question 7 Finish functions.
CS 404: Survey and Use of Software Libraries for Scientific Computing Andrew Pershing 3134 Snee Hall
MathCore Engineering AB Experts in Modeling & Simulation WTC.
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
MATLAB
CS 403: Development of Scientific Computing Programs Andrew Pershing 3134 Snee Hall
CS 140 Computer Programming (I) Second semester (3 credits) Imam Mohammad bin Saud Islamic University College of Computer Science and Information.
Programming for Beginners Martin Nelson Elizabeth FitzGerald Lecture 15: More-Advanced Concepts.
Matlab 14.html Cost: $100 Available in labs on Windows and Unix machines.
CAP4730: Computational Structures in Computer Graphics Course Introduction.
XP Tutorial 10New Perspectives on HTML and XHTML, Comprehensive 1 Working with JavaScript Creating a Programmable Web Page for North Pole Novelties Tutorial.
CMSC104 Problem Solving and Computer Programming Spring 2009 Sections 0201 & 0301 Ms. Dawn Block.
BOĞAZİÇİ UNIVERSITY DEPARTMENT OF MANAGEMENT INFORMATION SYSTEMS MATLAB AS A DATA MINING ENVIRONMENT.
CS 401: Applied Scientific Computing with MATLAB Andrew Pershing 3134 Snee Hall
A (VERY) SHORT INTRODUCTION TO MATLAB J.A. MARR George Mason University School of Physics, Astronomy and Computational Sciences.
Matlab Programming a logical approach. Outline Announcements: –Homework I: due Wed. by 5, by –Last day to add/drop or change credit/audit Iteration.
Matlab Fundamentals: working with data.
Input Output Garbage In, Garbage Out. Outline Announcements: –Homework III: due Today. by 5, by Discuss on Friday. –Homework IV: on web, due following.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 2 : Matlab - Getting Started.
Matlab Programming a logical approach. Outline Announcements: –Homework I: due Wed. by 5, by –Remember: text & subject –Last day to add/drop or.
Improving performance Matlab’s a pig. Outline Announcements: –Homework I: Solutions on web –Homework II: on web--due Wed. Homework I Performance Issues.
Announcements You will receive your scores back for Assignment 2 this week. You will have an opportunity to correct your code and resubmit it for partial.
CIS 401: Applied Scientific Computing with MATLAB Andrew Pershing 3134 Snee Hall
Course Overview: Linear Algebra
CIS 595 MATLAB First Impressions. MATLAB This introduction will give Some basic ideas Main advantages and drawbacks compared to other languages.
Input Output Garbage In, Garbage Out. Outline Announcements: –HWII solutions on web soon –Homework III: due Wednesday Advanced ASCII Binary Basics Cell-arrays.
“Moh’d Sami” AshhabSummer 2008University of Jordan MATLAB By (Mohammed Sami) Ashhab University of Jordan Summer 2008.
CMSC104 Problem Solving and Computer Programming Spring 2008
MATH/COMP 340: Numerical Analysis I
PRE-AP computer science 1
CSC 221: Computer Programming I Spring 2010
CSC 221: Computer Programming I Fall 2005
Welcome to MATLAB.
(Mohammed Sami) Ashhab
Matlab Fundamentals: working with data.
Matlab Fundamentals: working with data.
Searching, Sorting, and Asymptotic Complexity
This is….
CS31 Discussion 1H Fall18: week 1
Biomedical Imaging Center
Presentation transcript:

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 during office hours & by appt. –Homework III: answers on web Homework III What you know What I haven’t told you, & where to find out more Course Evaluations

Homework III Most did well Swan Modeling –Each iteration j compute B(N(j)), D(N(j)), P(N(j)) if(random #<P) N(j+1)=N(j)+1 else N(j+1)=N(j)-1 end compute dt t(j+1)=t(j)+dt

Swan Modeling Can do iterations with for or while loops: for j=1:MAXEVENT-1 if(N(j+1)<=0) break;end end or j=1; while(j<MAXEVENT & N(j)<0) j=j+1; end then –N=N(1:j+1) (for loop) or N=N(1:j) (while loop) to delete unneeded elements

Swan Experiment Initialize counters: extinct=0; trials=100; Call your function 100 times analyze t and N to determine if extinct before 20 years n=length(t) if(t(n)<=20 & N(n)<=0) extinct=extinct+1; elseif(t(n)<20) trials=trials-1; end Then, Prb{extinct before 20}=extinct/trials

What Do You Know? You know enough Matlab to do solve any of these problems 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

What Do You Know? You know how to –get ASCII and binary data into Matlab –data are stored in arrays (vectors, matrices, ND-arrays) –Manipulate data with array operations find, relational and logical operators –get data out of Matlab

What Do You Know? You know that Matlab has built in functions for –statistics –graphics –solving ODE’s –solving linear systems and analyzing matrices

Matlab has lots of functions, and you’ll never know them all –learn about functions through help, helpwin, or help browser (through GUI) What I Haven’t Told You

Other important packages –signal processing (beyond FFT) –splines (turn anything into a smooth function) –finance (follow the money) –mapping (explore your world) –optimization (the best of all possible worlds) –Simulink (GUI for creating dynamical systems)

What Do You Know? You know how to extend Matlab’s capabilities through functions –function [outputs]=fname(inputs); And that Matlab is a procedural programming language –Iterations with for & while loops –Conditionals with if-elseif-else-end –error(estring) And that Matlab functions can be polymorphic –nargin, varargin, etc.

What I Haven’t Told You Matlab is more than just arrays of doubles –structs--similar to C-structs or Java objects Create a variable called student with fields: –name--string with student’s name –ID-- a number –balance--balance on Bursar account –hold--(logical) Bursar hold status (always true) Get data out with student.fieldname

What I Haven’t Told You Cell-arrays are arrays of anything –C=cell(3,1); %creates a cell-array with 3 elements –C{1}=[1:3]; C{2}=student; C{3}=randn(1000); Cell-arrays are especially useful for holding text data

Other Scientific Computing Courses CS421--Introduces basic concepts and issues in scientific computing and numerical analysis CS621, CS622, CS624--Advanced scientific computing and numerical analysis (Matrices, Optimization, ODE/PDE’s) Math and Applied Math offer courses on linear algebra, ODE/PDE’s Domain-specific courses in your department

Other Scientific Computing Courses 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

Evaluations Please give me as much data as you can –specific lecture/topics you liked & those you didn’t –other topics to cover? –Tools Curriculum & mini-course format? Thanks!