M ATLAB – What Is It ? Name is from matrix laboratory Powerful tool for – Computation and visualization of engineering and science mathematics – Communication.

Slides:



Advertisements
Similar presentations
Engineering Computation using MATLAB
Advertisements

Introduction to Matlab EE 2303 Lab. MATLAB stands for “Matrix Laboratory” APPLICATIONS OF MATLAB:  Mathematical Calculations  Data Analysis & Visualization.
Al-Amer An Introduction to MATLAB Lesson 2: M-files Dr. Samir Al-Amer Term 061.
Scripts and Flow Control. Scripts So far we have been entering commands directly into the command line But there is a better way Script files (and functions)
A graphical user interface (GUI) is a pictorial interface to a program. A good GUI can make programs easier to use by providing them with a consistent.
Welcome to EGR 106 Foundations of Engineering II Course information Today’s specific topics: – Computation and algorithms – M ATLAB Basics Demonstrations.
EGR 106 – Week 2 – Arrays Definition, size, and terminology Construction methods Addressing and sub-arrays Some useful functions for arrays Character arrays.
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
EGR 106 – Week 2 – Arrays & Scripts Brief review of last week Arrays: – Concept – Construction – Addressing Scripts and the editor Audio arrays Textbook.
Division Example 2x - 3y + 4z = 10 x + 6y - 3z = 4 -5x + y + 2z = 3 A*X = B where A = B = >> X = A\B X =
Introduction to MATLAB MECH 300H Spring Starting of MATLAB.
Introduction to Matlab Jianguo Wang CSSCR September 2009.
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.
Programming For Nuclear Engineers Lecture 12 MATLAB (3) 1.
© 2004 The MathWorks, Inc. 1 MATLAB for C/C++ Programmers Support your C/C++ development using MATLAB’s prebuilt graphics functions and trusted numerics.
August 22, 2005 Lecture 1 - By P. Lin 1 CPET 190 Lecture 1 Problem Solving with MATLAB
EGR 106 Intro to Engineering II Engineering problem solving using MATLAB Text: Amos Gilat, MATLAB An Introduction with Applications, Wiley 2004 ISBN
Introduction to M ATLAB EE 100 – EE Dept. - JUST.
Department of Mechanical Engineering, LSUSession VII MATLAB Tutorials Session VIII Graphical User Interface using MATLAB Rajeev Madazhy
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.
MATLAB WORKSHOP FOR EE 327FOR EE 327 MWF 8: AMMWF 8: AM August 26-30, 2002August 26-30, 2002 Dr. Ali A. Jalali.
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.
GTSTRUDL 27 This latest version of GTSTRUDL includes numerous new features, feature enhancements, error corrections, and prerelease features. GTSTRUDL.
Introduction to Engineering MATLAB – 6 Script Files - 1 Agenda Script files.
Matlab Workshop 1/10/07 Lesson 1: Matlab as a graphing calculator.
MATLAB Tutorial EE 327 Signals and Systems 1. What is MATLAB? MATLAB – Matrix Laboratory The premier number-crunching software Extremely useful for signal.
Eng Ship Structures 1 Introduction to Matlab.
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
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.
MATLAB Harri Saarnisaari, Part of Simulations and Tools for Telecommunication Course.
Winter Semester 2014/2015 College of Engineering.
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
Matlab 14.html Cost: $100 Available in labs on Windows and Unix machines.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
Chapter 1 – Matlab Overview EGR1302. Desktop Command window Current Directory window Command History window Tabs to toggle between Current Directory &
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.
Introduction to MATLAB 7 MATLAB Programming for Engineer Hassan Migdadi Spring 2013.
>> x = [ ]; y = 2*x y = Arrays x and y are one dimensional arrays called vectors. In MATLAB all variables are arrays. They allow functions.
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  Matlab is a software package for technical computation.  Matlab allows you to solve many numerical problems including - arrays.
Introduction to MATLAB 7 Engineering 161 Engineering Practices II Joe Mixsell Spring 2012.
訊號與系統 廖文淵 德霖技術學院資訊工程系 Introduction to MATLAB.
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.
Recap Functions with No input OR No output Determining The Number of Input and Output Arguments Local Variables Global Variables Creating ToolBox of Functions.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 2 : Matlab - Getting Started.
Introduction to Literate Programming in Matlab 2WN50 – Week programming-in-matlab.pptx?dl=0.
Introduction to Programming on MATLAB Ecological Modeling Course Sep 11th, 2006.
“Moh’d Sami” AshhabSummer 2008University of Jordan MATLAB By (Mohammed Sami) Ashhab University of Jordan Summer 2008.
MATLAB (Matrix Algebra laboratory), distributed by The MathWorks, is a technical computing environment for high performance numeric computation and.
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 Programming for Engineers
Microsoft Visual Basic 2005 BASICS
Introduction to Matlab
Appendix B MathScript Basics
Lecture 25.
MATLAB Basics Nafees Ahmed Asstt. Professor, EE Deptt DIT, DehraDun.
1. Introduction to Visual Basic
Two-Dimensional Plots
MCE 372 Engineering Analysis
MATLAB – What Is It ? Name is from matrix laboratory Powerful tool for
MATLAB Tutorial Dr. David W. Graham.
MATLAB – What Is It ? Name is from matrix laboratory Powerful tool for
MATLAB – What Is It ? Name is from matrix laboratory Powerful tool for
Plotting Data with MATLAB
Digital Image Processing
Communication and Coding Theory Lab(CS491)
Introduction to MATLAB Programming
Presentation transcript:

M ATLAB – What Is It ? Name is from matrix laboratory Powerful tool for – Computation and visualization of engineering and science mathematics – Communication of ideas – Programming: Built-in editor, debugger, and help Many predefined functions (grouped in toolboxes) Interpreted or compiled programs

M ATLAB – Where Is It ? MATLAB is available on all computers in the Engineering Computer Center and on many other computers located in departments within the College of Engineering (Computer Classroom 225 Wales). You can also purchase your own Student Version from MathWorks at:

How Do We Want To Use M ATLAB In Statics Course? Write a Simple MATLAB Program to Do the Following: - Calculate All Member Forces in Truss Problem - Plot Forces to Graphically Observe How Structure Behaves - Investigate Tension & Compression Force Restrictions

Creating Your Own Program Script (m-file) Concept M-file is a collection of MATLAB commands – Can be re-executed – Is easily changed/modified or ed to someone File format: Name.m Commands are executed one by one sequentially – File is executed by typing its name (without.m) – Results appear in the command window (or use ; ) Can be created using any text editor, but is most easily developed in MATLAB Editor Window

Boot Up Default MATLAB Window Help menu provides answers to most questions Opens Editor Window to create new program In this window: - type & edit commands - test & run program - save work when finished

Demo MATLAB Code Calculate & Plot Equation: y=2x+30x 2 -2x 3 Dot needed for element- by-element operation

Plotting Line Specifiers Line Specifiers Change the Look Especially Handy When Plotting Several Lines on Same Graph Use Help Menu to Find Out More

The Project Problem Labels & Titles 0  P 1  20kN P 2 = 8, 10, 12 kN Legend Use text to write to screen; text(x,y,’F_C_F’) P2P2 P1P1 Tension Compression Tension/Compression Criteria Calculate Values in Code Write Them on Figure

Good Luck!