{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

matlab_intro

matlab_intro - Matlab Introduction Dr Antonio A Trani...

This preview shows pages 1–8. Sign up to view the full content.

Virginia Tech (copyright A.A. Trani) Matlab Introduction Dr. Antonio A. Trani Professor Dept. of Civil and Environmental Engineering

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Virginia Polytechnic Institute and State University 2 of 58 Purpose of this Section To illustrate simple uses of the MATLAB TM Technical language To help you understand under what circumstances is MATLAB a better choice than spreadsheets and high- level languages To understand some of the MATLAB toolboxes used in specialized technical computation Just for the fun of learning something new ( the most important reason ) TM trademark of the Mathworks (Natick, MA)
Virginia Polytechnic Institute and State University 3 of 58 What is MATLAB? A high-performance language for technical computing (Mathworks, 1998) Typical uses of MATLAB: Mathematical computations Algorithmic development Model prototyping (prior to complex model development) Data analysis and exploration of data (visualization) Scientific and engineering graphics for presentation Complex analysis using MATLAB toolboxes (i.e., statistics, neural networks, fuzzy logic, H-infinity control, economics, etc.)

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Virginia Polytechnic Institute and State University 4 of 58 Why is MATLAB Good for Me? Because it simplifies the analysis of mathematical models It frees you from coding in high-level languages (saves a lot of time - with some computational speed penalties) Provides an extensible programming/visualization environment Provides professional looking graphs The learning curve of this language is moderate (my own bias) Our students learn the language in EF, Math and Physics. Perhaps we should exploit this fact in our junior and senior courses
Virginia Polytechnic Institute and State University 5 of 58 Where is MATLAB in the Scheme of Things? Complimentary tool to spreadsheets and prog. languages Tool My Remarks (subjective) Spreadsheets (Excel) • Easy to use • Good for general purpose computation • Nice standard graphics • Good connectivity to other applications • Platform independent Numeric/Symbolic Tools (MATLAB, Mathematica/Mathcad) • Moderate learning curve • Good for general and scientific computa- tions • Excellent graphics • Good connectivity to other applications • Platform independent Compiled Languages (C/C++) • Require a fairly steep learning curve • Best control over the development cycle • Good graphics if a separate library is available • Generally platform dependent

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Virginia Polytechnic Institute and State University 6 of 58 A Few More Facts About MATLAB MATLAB was created to be a numerical computation package (based on the LINPACK routines) MATLAB is usually faster than Mathematica and Maple in numeric intensive tasks MATLAB has more textbooks than other packages combined (350+ books). Perhaps this speaks on the acceptance by the user community Go to www.mathworks.com for a complete set of books on various subjects
Virginia Polytechnic Institute and State University 7 of 58 Tutorial Outline

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}