Lecture 1 - Introduction June 3, 2002 CVEN 302. Lecture’s Goals General Introduction to CVEN 302 - Computer Applications in Engineering and Construction.

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

Introduction to Matlab
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
MA5233: Computational Mathematics
Introduction to MATLAB Week 13 – 4/21/09. Instructor: Kate Musgrave Time: Tuesdays 3-5pm Office Hours: Tuesdays 1:30-3pm
Introduction to MATLAB 7 for Engineers
Introduction to MATLAB ENGR 1187 MATLAB 1. Programming In The Real World Programming is a powerful tool for solving problems in every day industry settings.
1 MATLAB 基礎. 2 MATLAB  Workspace: environment (address space) where all variables reside  After carrying out a calculation, MATLAB assigns the result.
MATLAB Lecture One Monday 4 July Matlab Melvyn Sim Department of Decision Sciences NUS Business School
Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00.
THE MATLAB ENVIRONMENT VARIABLES BASIC COMMANDS HELP HP 100 – MATLAB Wednesday, 8/27/2014
MATLAB Tutorials Session I Introduction to MATLAB Rajeev Madazhy Dept of Mechanical Engineering LSU.
Introduction to Matlab 1. Outline: What is Matlab? Matlab Screen Variables, array, matrix, indexing Operators Plotting Flow Control Using of M-File Writing.
Lecture 4 MATLAB Windows Arithmetic Operators Maintenance Functions
Objectives Understand what MATLAB is and why it is widely used in engineering and science Start the MATLAB program and solve simple problems in the command.
EE 3561_Unit_1(c)Al-Dhaifallah EE 3561 : - Computational Methods in Electrical Engineering Unit 1: Introduction to Computational Methods and Taylor.
Math 15 Lecture 7 University of California, Merced Scilab A “Very” Short Introduction.
Introduction to MATLAB CBE 502 Mathematical Methods of Engineering Analysis.
ECE 1304 Introduction to Electrical and Computer Engineering Section 1.1 Introduction to MATLAB.
Introduction to MATLAB ENGR 1181 MATLAB 1. Programming In The Real World Programming is a powerful tool for solving problems in every day industry settings.
Introduction to Engineering MATLAB – 1 Introduction to MATLAB Agenda Introduction Arithmetic Operations MATLAB Windows Command Window Defining Variables.
Algorithms and their Applications CS2004 ( ) Dr Stephen Swift 3.1 Mathematical Foundation.
CMPS 1371 Introduction to Computing for Engineers MATRICES.
Chapter 2: First Steps in MuPAD MATLAB for Scientist and Engineers Using Symbolic Toolbox.
What is MATLAB? MATLAB is one of a number of commercially available, sophisticated mathematical computation tools. Others include Maple Mathematica MathCad.
Introduction to MATLAB 7 Engineering 161 Engineering Practices II Joe Mixsell Spring 2010.
Applied Numerical Method for Engineers and Scientists
Basics of MATLAB By DR. Wafaa Shabana
MATLAB Environment ELEC 206 Computer Applications for Electrical Engineers Dr. Ron Hayne.
Lecture 2 - Matlab Introduction CVEN 302 June 5, 2002.
Winter Semester 2014/2015 College of Engineering.
Matlab 14.html Cost: $100 Available in labs on Windows and Unix machines.
Introduction to Matlab
Solution of a Partial Differential Equations using the Method of Lines
ME6104: CAD. Module 4. ME6104: CAD. Module 4. Systems Realization Laboratory Module 4 Matlab ME 6104 – Fundamentals of Computer-Aided Design.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Introduction Course Outline.
INTRODUCTION TO MATLAB MATLAB is a software package for computation in engineering, science, and applied mathemat-ics. It offers a powerful programming.
Introduction to MATLAB 7 MATLAB Programming for Engineer Hassan Migdadi Spring 2013.
Computer Simulation Lab Electrical and Computer Engineering Department SUNY – New Paltz SUNY-New Paltz “Lecture 2”
Lecture 4 - Numerical Errors CVEN 302 June 10, 2002.
Lecture 20: Choosing the Right Tool for the Job. What is MATLAB? MATLAB is one of a number of commercially available, sophisticated mathematical computation.
Introduction to MATLAB 7 Engineering 161 Engineering Practices II Joe Mixsell Spring 2012.
Ch13-1 Chap 13 Introduction to Matlab 13.1 Introduction MATLAB : The MATrix LABoratory program Not only is the MATLAB programming language exceptionally.
Fundamentals of Programming 20-ENFD-112 Sections 001 to 007 Instructor: Prof. Dieter Schmidt Lecture: Monday, Wednesday 3:00-3:50 Web page
INTRODUCTION TO MATLAB DAVID COOPER SUMMER Course Layout SundayMondayTuesdayWednesdayThursdayFridaySaturday 67 Intro 89 Scripts 1011 Work
INTRODUCTION TO MATLAB Dr. Hugh Blanton ENTC 4347.
The Instruction Set Architecture. Hardware – Software boundary Java Program C Program Ada Program Compiler Instruction Set Architecture Microcode Hardware.
1 Lecture 3 Post-Graduate Students Advanced Programming (Introduction to MATLAB) Code: ENG 505 Dr. Basheer M. Nasef Computers & Systems Dept.
MTH Spring Term NUMERICAL ANALYSIS Spring Term MTH Spring Term NUMERICAL ANALYSIS Spring Term INTERNATIONAL.
MATLAB Lecture 1 염익준. Introduction MATLAB (MATrix LABoratory) a special purpose computer program optimized to perform engineering and scientific calculations.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 2 : Matlab - Getting Started.
1 Faculty Name Prof. A. A. Saati. 2 MATLAB Fundamentals 3 1.Reading home works ( Applied Numerical Methods )  CHAPTER 2: MATLAB Fundamentals (p.24)
Numerical Analysis Intro to Scientific Computing.
MATLAB (Matrix Algebra laboratory), distributed by The MathWorks, is a technical computing environment for high performance numeric computation and.
1-2 What is the Matlab environment? How can you create vectors ? What does the colon : operator do? How does the use of the built-in linspace function.
Computational Fluid Dynamics Lecture II Numerical Methods and Criteria for CFD Dr. Ugur GUVEN Professor of Aerospace Engineering.
Solving Engineering Problems
ECE 1304 Introduction to Electrical and Computer Engineering
Numeric, Cell and Structural Arrays One of the strenghts of MATLAB is the capabilty to handle collection of numbers called ARRAYS. MATLAB refers to scalars,
ECE 1304 Introduction to Electrical and Computer Engineering
Lecture: MATLAB Chapter 1 Introduction
MatLab Programming By Kishan Kathiriya.
CHAPTER 3 NUMERICAL METHODS.
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
INTRODUCTION TO BASIC MATLAB
MATLAB DENC 2533 ECADD LAB 9.
EEE 244 Numerical Methods In Electrical Engineering
Solving Engineering Problems
Communication and Coding Theory Lab(CS491)
Presentation transcript:

Lecture 1 - Introduction June 3, 2002 CVEN 302

Lecture’s Goals General Introduction to CVEN Computer Applications in Engineering and Construction Introduction to Computer Lab Why do you need to be able to write and understand computer program and numerical methods? Matlab - Mathematical Laboratory

CVEN 302 Computer Applications in Engineering and Construction Text:Applied Numerical Analysis Using MatLab Author:Laurene V. Fausett Software:Matlab Version 6.0

Introduction Professor: Dr. E. Sandt Office :207 CVEN Building Phone: Office Hr:MWF 2:00 PM - 4:00 PM URL:

Grade Breakdown Homework 25 % Exam 120 % Exam 220 % Final35 %

Topics Matlab - Mathematical Program (Vectors) Computer Errors - Recognition and solutions Roots f(x) = 0 –Linear Methods –Nonlinear Methods

Topics Linear Systems - Setting up multiple sets of equations and solution techniques. LU Decomposition - Technique to decompose matrices Eigen-analysis - finding the eigenvalues and eigenvectors

Topics Fitting Data –Interpolation –Curve Fitting Numerical Differentiation Numerical Integration

Topics ODE’s (ordinary differential equations) –Initial Value Problems –Systems of ODE’s of IVP –Boundary Value Problems –Systems of ODE’s of BVP Partial Differential Equations (PDE’s)

Why do we need to know how to use numerical analysis and methods? Applications Numerical Errors Computer Types Computer Software You are not going to be given a nice neat exact solution in the “real world”.

Applications Signal Processing CFD (Computational Fluid Dynamics) Structural Analysis Finite Element Analysis

Applications Interpolation - Handling data Optimization - Design and estimation CAD (Computer Aided-Drafting) Data Collection

Numerical Errors Computers are only as good as the person running them person running them.

Numerical Errors Precision Limits Stability –Convergence –Divergence Alaising

Numerical Errors Round-off Errors Truncation Errors - Code dependent Machine Precision

Computer Hardware Types Personal Computer Supercomputers Vector Processors Array Processors Parallel Processor

Software Operating Systems (OS) Windows - NT, ME, Windows Unix VMS - VAX Linux

Software Languages –Fundamental Assembler (Bit manipulations) –Engineering Languages Fortran Cobol Pascal C++ ( J++ ) Basic –HTML and Java

Software Higher-Order Programming –Maple - Mathematical Programming Language –Mathematica - Mathematical Programming Language –Java - Internet Programming Language –Matlab - Matrix Laboratory

Software Tools –Word Processors –Spreadsheets –Database Management –Graphics –Mathematical Computer Codes

Matlab -Matrix Laboratory –50 Licenses are available on the network with a wavelet tool box –Student Version is available at the MSC ($120) without the tool boxes. Currently Matlab 6.0 is available on CVEN Network

MatLab You will need to obtain an account on the CVEN Network. You can obtain an account in the CVEN Lab. It will take a couple of days to get it setup. The Matlab program can be run using command line, batch commands, and programs.

What is a program? Program consist of three main components: Input Main Program - Numerical methods and analysis and/or evaluation. Output - Results.

Inputs Numerical values Initialization of the variables Conditions Equations

Main Program –Loops (for do while) –Conditions ( if then elseif etc.. ) –Error Convergence (while ) Using flow charts, the programs can be designed to perform a task. Using:

Output –Numerical Values –Decisions –Graphs and Plots Outputs are the results of the program. They can go through a series of post-processing methods.

MatLab Variable Types –Integers –Real Values (float and double) –Complex Numbers (a + ib) a - real value b - imaginary value (“i” is the square root of -1)

Matlab Data types –Numerical Scalars Vectors Matrices –Logic Types –Alpha/Numerical Types

Matlab A scalar value is the simple number, a, 2, …, A vector is a union of a Transpose vector

Matlab Matrix is a combination of vectors and scalars. Scalar and vectors are subsets of matrices. Matlab uses matrix to do mathematical methods.

Matlab Set of computer functions –Circular functions - sin(x),cos(x), tan(x), asin(x), acos(x), atan(x) –Hyperbolic functions - sinh(x), cosh(x), tanh(x) –Logarithmic functions - ln(x), log(x), exp(x) –Logic functions - abs(x), real(x), imag(x)

Matlab Simple commands –clc - clears window –clg- clear graphic window –clear- clears the workspace –who- variable list –whos - variable list with size –help- when doubt use it!

Matlab Simple commands and symbols –^C- an escape from a loop –inf- infinity –NaN- No numerical value

Matlab - Scalar Operations Addition - a + b Subtraction- a - b Multiplication- a * b Right Division- a / b Left Division- b \ a Exponential- a^b

Order of Precedence of Arithmetic Operations Precedence ( 1 ) - Parenthesis ( 2 )- Exponential from left to right ( 3 )- Multiplication and division from left to right. ( 4 )- Addition and subtraction from left to right.

Homework Obtain an account on CVEN Network Find the Website ( Play with Matlab me and say Hi! I will need your address to create an class list.