Matlab for Engineers About Matlab Chapter 1. Matlab for Engineers What’s in this Chapter? What is Matlab? Student Edition of Matlab How is Matlab used.

Slides:



Advertisements
Similar presentations
1 1 Mechanical Design and Production Dept, Faculty of Engineering, Zagazig University, Egypt. Mechanical Design and Production Dept, Faculty of Engineering,
Advertisements

DT Coursework By D. Henwood.
© HRS Ltd, In NZ phone , A 6-minute slide show to illustrate the main features of Mathcad documents are used for engineering.
Engineering Computation using MATLAB
Chapter 1 - An Introduction to Computers and Problem Solving
Learning Objectives Explain similarities and differences among algorithms, programs, and heuristic solutions List the five essential properties of an algorithm.
Section 3 Systems of Professional Learning Module 1 Grades 6–12: Focus on Practice Standards.
MATLAB Presented By: Nathalie Tacconi Presented By: Nathalie Tacconi Originally Prepared By: Sheridan Saint-Michel Originally Prepared By: Sheridan Saint-Michel.
Activity Set 3.7 PREP PPTX Visual Algebra for Teachers.
© 2006 Pearson Addison-Wesley. All rights reserved2-1 Chapter 2 Principles of Programming & Software Engineering.
Lecture 24 Introduction to state variable modeling Overall idea Example Simulating system response using MATLAB Related educational modules: –Section 2.6.1,
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
MapleSim and the Advantages of Physical Modeling
Biostatistics, statistical software II. A brief survey of statistical program systems Krisztina Boda PhD Department of Medical Informatics, University.
Chapter 8: Problem Solving
Chapter 1 Engineering Problem Solving 1. Hardware and Software 2 A computer is a machine designed to perform operations specified with a set of instructions.
Introduction to MATLAB Session 1 Prepared By: Dina El Kholy Ahmed Dalal Statistics Course – Biomedical Department -year 3.
Chapter 5 Engineering Tools for Electrical and Computer Engineers.
Spreadsheet-Based Decision Support Systems Chapter 22:
Physics Lab Leslie Watkins Guilhem Ribeill NCSO Coaches’ Clinic 2008.
Output and User Interface Design
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.
Chapter 1 Computing Tools Analytic and Algorithmic Solutions Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 1 Introduction. 2 Hints on Problem Solving First –Make a sketch –Mark on it what you want to know –Identify what you are trying to determine This.
An Introduction to Programming and Algorithms. Course Objectives A basic understanding of engineering problem solving process. A basic understanding of.
PROBLEM SOLVING The first step in writing instructions to carry out a task is to determine what the output should be (What should the task produce?)
Chapter 11 An Introduction to Visual Basic 2008 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
Computational Physics Introduction 3/30/11. Goals  Calculate solutions to physics problems  All physics problems can be formulated mathematically. 
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
MATLAB
About MATLAB® Chapter 1 Welcome to Chapter 1 of MATLAB for Engineers. In this chapter we’ll introduce you to the MATLAB computer software program.
What is MATLAB? MATLAB is one of a number of commercially available, sophisticated mathematical computation tools. Others include Maple Mathematica MathCad.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
MATLAB for Engineers 4E, by Holly Moore. © 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected by Copyright.
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
Chapter 11 An Introduction to Visual Basic 2005 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
Chapter 1 Computing Tools Analytic and Algorithmic Solutions Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Getting Started with MATLAB (part2) 1. Basic Data manipulation 2. Basic Data Understanding 1. The Binary System 2. The ASCII Table 3. Creating Good Variables.
Lecture 20: Choosing the Right Tool for the Job. What is MATLAB? MATLAB is one of a number of commercially available, sophisticated mathematical computation.
© 2006 Pearson Addison-Wesley. All rights reserved2-1 Chapter 2 Principles of Programming & Software Engineering.
© 2006 Pearson Addison-Wesley. All rights reserved 2-1 Chapter 2 Principles of Programming & Software Engineering.
CONFIDENTIAL © 2007 Maplesoft, a division of Waterloo Maple Inc. Confidential MapleSim Pilot Test Program.
4-2 CHAPTER 4 Engineering Communication © 2011 Cengage Learning Engineering. All Rights Reserved.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 2 : Matlab - Getting Started.
INVITATION TO Computer Science 1 11 Chapter 2 The Algorithmic Foundations of Computer Science.
General Analysis Procedure and Calculator Policy Calculator Policy.
Get your software working before putting it on the robot!
Modeling and Equation Solving
EE400D DOCUMENTATION INSTRUCTIONAL SERIES BLOG POSTS.
Program Design & Development EE 201 C7-1 Spring
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
Principles of Programming & Software Engineering
Solving Engineering Problems
244-1: INTRODUCTION TO PROGRAMMING
Release Numbers MATLAB is updated regularly
About MATLAB® Chapter 1 Welcome to Chapter 1 of MATLAB for Engineers. In this chapter we’ll introduce you to the MATLAB computer software program.
Software for scientific calculations
Objectives of the Presentation
INTRODUCTION TO BASIC MATLAB
User Defined Functions
MATLAB – What Is It ? Name is from matrix laboratory Powerful tool for
Solving Engineering Problems
Engineering Tools for Electrical and Computer Engineers
Chapter 2- Visual Basic Schneider
Communication and Coding Theory Lab(CS491)
Linear Equations, Functions, Zeros, and Applications
CSCI N317 Computation for Scientific Applications Unit 1 – 1 MATLAB
Linear Equations, Functions, Zeros, and Applications
Introduction To MATLAB
Review of Previous Lesson
Presentation transcript:

Matlab for Engineers About Matlab Chapter 1

Matlab for Engineers What’s in this Chapter? What is Matlab? Student Edition of Matlab How is Matlab used in industry? Problem Solving in Engineering and Science

Matlab for Engineers Section 1.1 What is Matlab? Matlab is one of a number of commercially available, sophisticated mathematical computation tools Others include Maple Mathematica MathCad

Matlab for Engineers Matlab excels at Numerical calculations Especially involving matrices Graphics Matlab stands for Mat rix Lab oratory

Matlab for Engineers Why Matlab Easy to use Versatile Built in programming language Not a general purpose language like C++ or Java

Matlab for Engineers Matlab was originally written in Fortran, then later rewritten in C

Matlab for Engineers Matlab 7 Matlab is updated regularly Versions that predate Matlab 5.5 are substantially different

Matlab for Engineers Release Numbers The Mathworks packages their software in groups, called releases Release 14 includes Matlab 7 Simulink 6.1 A number of specialized “toolboxes”

Matlab for Engineers New Release Naming System During Spring 2006 Matlab changed to a new system for naming their releases They will be issuing updates twice a year 2006a 2006b

Matlab for Engineers Section 1.2 Student Edition of Matlab Matlab comes in both a student and professional edition Student editions are available for Windows Operating Systems Mac OS Linux

Matlab for Engineers The student edition of release 14 includes Full featured Matlab 7 Simulink 6.1 – limited to 1000 blocks Major portions of the Symbolic toolbox Other toolboxes may be purchased separately

Matlab for Engineers The command prompt is the biggest difference you’ll notice >>is the command prompt for the professional version EDU>> is the command prompt for the student version

Matlab for Engineers Section 1.3 How is Matlab used in Industry? Widespread, especially in the signal processing field Tool of choice in Academia for most engineering fields Some examples….

Matlab for Engineers Electrical Engineering These images simulate the visual system used in a housefly brain to detect collisions. The techniques developed are being used in autonomous robot systems that depend upon vision for navigation. The data was processed using Matlab

Matlab for Engineers Biomedical Engineering These images were created from MRI scan data using Matlab. The actual data set is included with the standard Matlab installation, allowing you experiment with manipulating the data yourself.

Matlab for Engineers Fluid Dynamics Results from a finite element analysis code were post processed using Matlab to create this image.

Matlab for Engineers Section 1.4 Problem Solving in Engineering and Science 1.State the Problem 2.Describe the input and output 3.Develop an algorithm 4.Solve the problem 5.Test the solution

Matlab for Engineers State the Problem If you don’t have a clear understanding of the problem, it’s unlikely that you’ll be able to solve it Drawing a picture often helps you understand the system better

Matlab for Engineers Describe the Input and Output Be careful to include units Identify constants Label your sketch Group information into tables

Matlab for Engineers Develop an Algorithm Identify any equations relating the knowns and unknowns Work through a simplified version of the problem by hand or with a calculator Developing a flow chart is often useful for complicated problems

Matlab for Engineers Solve the problem Create a Matlab solution Be generous with comments, so that others can follow your work

Matlab for Engineers Test the Solution Compare to the hand solution Do your answers make sense physically? Is your answer really what was asked for? Graphs are often useful ways to check your calculations for reasonableness

Matlab for Engineers If you use a consistent problem solving strategy you increase the chance that your result is correct Here’s an example….

Matlab for Engineers Example 1.1 Albert Einstein E=mc 2 The sun is fueled by the conversion of matter to energy How much matter does the sun consume every day?

Matlab for Engineers State the Problem Find the amount of matter necessary to produce the amount of energy radiated by the sun everyday

Matlab for Engineers Describe the Input and Output Input Rate of energy radiation E = 385*10 24 Joules/second Speed of light c = 3.0*10 8 meters/second Output Mass in kilograms

Matlab for Engineers Develop an Algorithm – Hand Example The energy radiated in one day is: Rearrange E=mc 2 and solve for m m=E/c 2

Matlab for Engineers But the units are wrong!! 1 J = 1 kg m 2 /sec 2

Matlab for Engineers Develop a Matlab Solution to Solve the Problem We’ll start learning the details of how to use Matlab in the next chapter. However, you can see from the following demonstration just how easy it is to use the command window

Matlab for Engineers To restart the demonstration click in the Matlab window Use the down arrow on the keyboard to proceeed to the next slide

Matlab for Engineers Test your Solution Matches the hand solution Is it reasonable? Consider… Mass of the sun = 2*10 20 kg How long would it take to consume all that mass?

Matlab for Engineers time = (mass of the sun)/(rate of consumption) That’s 15 trillion years!! Yes – this is a reasonable result

Matlab for Engineers Summary Matlab is widely used Matlab is easy to use A systematic problem solving strategy makes it more likely you’ve found the right answer