Introduction to M ATLAB EE 100 – EE Dept. - JUST.

Slides:



Advertisements
Similar presentations
Engineering Computation using MATLAB
Advertisements

MATLAB Presented By: Nathalie Tacconi Presented By: Nathalie Tacconi Originally Prepared By: Sheridan Saint-Michel Originally Prepared By: Sheridan Saint-Michel.
CSE123 Introduction to Computing Lecture 1 Introduction Engineering Problem Solving.
Introduction to MATLAB 3 November Instructor: Andy Newman Office Hours: Stop by room 306 (main building) whenever
Program Flow Charting How to tackle the beginning stage a program design.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
XP Tutorial 1 New Perspectives on JavaScript, Comprehensive1 Introducing JavaScript Hiding Addresses from Spammers.
Objectives Machine language vs.. High-level language Procedure-oriented, object-oriented, and event- driven languages Background of Visual Basic VB Integrated.
Chapter 3 Software Two major types of software
Introduction to programming in MATLAB MATLAB can be thought of as an super-powerful graphing calculator Remember the TI-83 from calculus? With many more.
Digital Image Processing Lecture3: Introduction to MATLAB.
1 Integrated Development Environment Building Your First Project (A Step-By-Step Approach)
Programming Languages: Telling the Computers What to Do Chapter 16.
© 2004 The MathWorks, Inc. 1 MATLAB for C/C++ Programmers Support your C/C++ development using MATLAB’s prebuilt graphics functions and trusted numerics.
Introduction to MATLAB adapted from Dr. Rolf Lakaemper.
You can make this in matlab!. Matlab Introduction and Matrices.
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
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.
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.
ELG 3120 Signal and System Analysis 1 Introduction to MATLAB TAs Wei Zhang Ozgur Ekici (Section A)(Section B) ELG 3120 Lab Tutorial 1.
 2005 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and the World Wide Web.
Introduction to Interactive Media Interactive Media Tools: Software.
Chapter Three The UNIX Editors. 2 Lesson A The vi Editor.
Computer Programming A program is a set of instructions a computer follows in order to perform a task. solve a problem Collectively, these instructions.
Computational Methods of Scientific Programming Lecturers Thomas A Herring, Room A, Chris Hill, Room ,
Eng Ship Structures 1 Introduction to Matlab.
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
Visual C++ Programming: Concepts and Projects
Getting Started with MATLAB 1. Fundamentals of MATLAB 2. Different Windows of MATLAB 1.
Basics of MATLAB By DR. Wafaa Shabana
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
CSE123 Introduction to Computing Lecture 1 – Introduction to Computers 1.
Introduction to Matlab. Outline:  What is Matlab? Matlab Screen Variables, array, matrix, indexing Operators (Arithmetic, relational, logical ) Display.
Chapter 1: Brief Overview of MATLAB MATLAB for Scientist and Engineers Using Symbolic Toolbox.
Chapter Three The UNIX Editors.
MCE 372 Engineering Analysis MATLAB Review. M ATLAB – What Is It ? Where Is It? Name is from matrix laboratory Powerful tool for – Computation and visualization.
BOĞAZİÇİ UNIVERSITY DEPARTMENT OF MANAGEMENT INFORMATION SYSTEMS MATLAB AS A DATA MINING ENVIRONMENT.
Lecture 20: Choosing the Right Tool for the Job. What is MATLAB? MATLAB is one of a number of commercially available, sophisticated mathematical computation.
CSC 1010 Programming for All Lecture 2 Introduction to Python Some material based on material from Marty Stepp, Instructor, University of Washington.
CIS 601 Fall 2003 Introduction to MATLAB Longin Jan Latecki Based on the lectures of Rolf Lakaemper and David Young.
Digital Image Processing Introduction to MATLAB. Background on MATLAB (Definition) MATLAB is a high-performance language for technical computing. The.
Introduction to Matlab Patrice Koehl Department of Biological Sciences National University of Singapore
M ATLAB – What Is It ? Name is from matrix laboratory Powerful tool for – Computation and visualization of engineering and science mathematics – Communication.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 2 : Matlab - Getting Started.
Introduction to Programming on MATLAB Ecological Modeling Course Sep 11th, 2006.
Learning Aim B.  In this section, you will consider the resources necessary for designing your website.  You will also think about any constraints that.
CIS 595 MATLAB First Impressions. MATLAB This introduction will give Some basic ideas Main advantages and drawbacks compared to other languages.
MATLAB (Matrix Algebra laboratory), distributed by The MathWorks, is a technical computing environment for high performance numeric computation and.
1 Programming and problem solving in C, Maxima, and Excel.
M ATLAB – What Is It ? Name is from matrix laboratory Powerful tool for – Computation and visualization of engineering and science mathematics – Communication.
MATLAB The name of MATLAB stands for matrix laboratory. Starting a MATLAB Session -On Microsoft® Windows® platforms, start the MATLAB program by double-clicking.
Matlab.
Release Numbers MATLAB is updated regularly
MATLAB Basics Nafees Ahmed Asstt. Professor, EE Deptt DIT, DehraDun.
Guide To UNIX Using Linux Third Edition
INTRODUCTION TO BASIC MATLAB
MATLAB DENC 2533 ECADD LAB 9.
Introduction to MATLAB
Social Media And Global Computing Introduction to Visual Studio
Understanding the Visual IDE
MATLAB – What Is It ? Name is from matrix laboratory Powerful tool for
MATLAB – What Is It ? Name is from matrix laboratory Powerful tool for
MATLAB – What Is It ? Name is from matrix laboratory Powerful tool for
Digital Image Processing
CSE 307 Basics of Image Processing
CSCI N317 Computation for Scientific Applications Unit 1 – 1 MATLAB
Experiment No. (1) - an introduction to MATLAB
Simulation And Modeling
Presentation transcript:

Introduction to M ATLAB EE 100 – EE Dept. - JUST

- 2 Introduction to M ATLAB Outline The MathWorks - Company Profile. The MATLAB Product Family. Software Development Philosophy. Contacts for Customer Service. What is MATLAB? Starting & Quitting MATLAB. MATLAB Documentation.

- 3 Introduction to M ATLAB The MathWorks - Company Profile Founded in 1984, privately held Employees. Annual growth > 30%. Founders : Jack Little, Cleve Moler. Most widely used analysis & modeling software: 1,000,000+ users world-wide 3,500+ universities Pioneers in interactive technical software

- 4 Introduction to M ATLAB The M ATLAB Product Family

- 5 Introduction to M ATLAB Software Development Philosophy Major software characteristics: matrix-based numeric computation high-level programming language graphics & visualization toolboxes provide application-specific functionality Multi-platform support (PC / Macintosh / unix) Open & extensible system architecture Interfaces to other systems. Custom C, Fortran (MATLAB is callable) Extensive data I/O facility

- 6 Introduction to M ATLAB Contacts for Customer Service Homepage: FTP Server: ftp://ftp.mathworks.com Newsgroup:comp.soft-sys.matlab MathWorks Technical Support: Phone:(508) Solution Search:“Solution Search” on homepage ACCESS Program: digest / tech support / electronic newsletter (MATLAB Digest)

- 7 Introduction to M ATLAB What is MATLAB? MATLAB is a high-performance language for technical computing. MATLAB stands for MATrix LABoratory. MATLAB System consists of : 1. Desktop Tools & Development Environment: MATLAB Desktop, command window, command history, editor, debugger,…etc. 2. MATLAB Mathematical Function Library: collection of computational algorithm, ranging from elementary function (sum, sine,..etc) and complex arithmetic to more sophisticated functions (matrix inverse, matrix eignvalues, FFT,..etc). 3. MATLAB Language: control flow statements, repetition statements, functions, data structures, I/O, OOP..etc. 4. Graphics: graphics representation, 2-D & 3-D visualization, image processing, animations. 5. MATLAB External Interfaces: C/C++ and FORTRAN programs that interact MATLAB.

- 8 Introduction to M ATLAB The MatLab environment is an interactive environment: Single-line commands can be entered and executed, the results displayed and observed, and then a second command can be executed that interacts with results from the first command that remains in memory. This means that you can type commands at the MatLab prompt and get answers immediately, which is very useful for simple problems. MatLab is an executable program, developed in a high-level language, which interprets user commands. Portions of the MatLab program execute in response to the user input, results are displayed, and the program waits for additional user input. When a command is entered that doesn’t meet the command rules, an error message is displayed. The corrected command can then be entered.

- 9 Introduction to M ATLAB While this interactive, line-by-line execution of MatLab commands is convenient for simple computational tasks, a process of preparation and execution of programscalled scripts is employed for more complicated computational tasks: A script is list of MatLab commands, prepared with a text editor. MatLab executes a script by reading a command from the script file, executing it, and then repeating the process on the next command in the script file. Errors in the syntax of a command are detected when MatLab attempts to execute the command. A syntax error message is displayed and execution of the script is halted. When syntax errors are encountered, the user must edit the script file to correct the error and then direct MatLab to execute the script again. The script may execute without syntax errors, but produce incorrect results when a logic error has been made in writing the script, which also requires that the script be edited and execution re-initiated.

- 10 Introduction to M ATLAB Starting & Quitting MATLAB. On windows platforms start MATLAB by: 1. Double-clicking MATLAB shortcut on the desktop. 2. Start menu -> programs -> matlab7.0 -> matlab7.0. On Unix platform: type matlab at the OS prompt.

- 11 Introduction to M ATLAB MATLAB Desktop

- 12 Introduction to M ATLAB MATLAB Desktop Layout Components Command window Command history Current directory Workspace Help Profiler: code optimization (input M-files)

- 13 Introduction to M ATLAB Quitting MATLAB Quitting MATLAB by: File -> exit Matlab. Type quit/exit in the command window.

- 14 Introduction to M ATLAB MATLAB Documentation. MATLAB provides extensive documentation, in both printable and HTML format to help you learn about and use all of its feature. To view online documentation select: Help -> MATLAB Help Command window : type helpwin View Demos: Help -> Demo Command window : type demo

- 15 Introduction to M ATLAB Thank You