Engineers Guide to MATLAB, An
Häftad, Engelska, 2010
Av Edward Magrab, Shapour Azarm, Balakumar Balachandran, Keith Herold, Gregory Walsh
2 999 kr
An Engineer's Guide to MATLAB, 3/e, is an authoritative guide to generating readable, compact, and verifiably correct MATLAB programs. It is ideal for undergraduate engineering courses in Mechanical, Aeronautical, Civil, and Electrical engineering that require/use MATLAB.
This highly respected guide helps students develop a strong working knowledge of MATLAB that can be used to solve a wide range of engineering problems. Since solving these problems usually involves writing relatively short, one-time-use programs, the authors demonstrate how to effectively develop programs that are compact yet readable, easy to debug, and quick to execute. Emphasis is on using MATLAB to obtain solutions to several classes of engineering problems, so technical material is presented in summary form only.
The new edition has been thoroughly revised and tested for software release 2009.
Produktinformation
- Utgivningsdatum2010-02-22
- Mått175 x 230 x 30 mm
- Vikt1 179 g
- FormatHäftad
- SpråkEngelska
- Antal sidor848
- Upplaga3
- FörlagPearson Education
- ISBN9780131991101
Tillhör följande kategorier
Dr. Magrab is Emeritus Professor of Mechanical Engineering at the University of Maryland, College Park, Maryland. His research interests include the integration of design and manufacturing, vibrations and acoustics, and the theoretical and experimental analysis of structural systems. Prior to joining the University of Maryland he held supervisory positions in the Center for Manufacturing Engineering, at the National Institute of Standards and Technology (NIST), which included being the head of the Robot Metrology Group and manager of the vertical machining workstation in the Automated Manufacturing Research Facility. He went to NIST after being a professor for almost a decade in the Department of Mechanics at the Catholic University of America in Washington DC. Dr. Magrab is a Life Fellow in the American Society of Mechanical Engineers and a registered professional engineer in Maryland. He has authored seven textbooks and published numerous journal articles. He holds one patent.
- List of Examples xivPreface to Third Edition xx 1 Introduction 1Edward B. Magrab1.1 Introduction 11.1.1 Organization of the Book and Its Goals 21.1.2 Some Suggestions on How to Use MATLAB 21.1.3 Book Notation Conventions 31.2 The MATLAB Environment 31.2.1 Introduction 31.2.2 Preliminaries–Command Window Management 51.2.3 Executing Expressions from the MATLAB Command Window–Basic MATLAB Syntax 81.2.4 Clarification and Exceptions to MATLAB’S Syntax 111.2.5 MATLAB Functions 141.2.6 Creating Scripts and Executing Them from the MATLAB Editor 191.3 Online Help 291.4 The Symbolic Toolbox 331.5 Summary of Functions Introduced in Chapter 1 41Exercises 42 2 Vectors and Matrices 51Edward B. Magrab2.1 Introduction 512.2 Definitions of Matrices and Vectors 522.3 Creation of Vectors 532.4 Creation of Matrices 642.5 Dot Operations 832.6 Mathematical Operations with Matrices 922.6.1 Addition and Subtraction 922.6.2 Multiplication 922.6.3 Determinants 1012.6.4 Matrix Inverse 1042.6.5 Solution of a System of Equations 1072.7 Summary of Functions Introduced in Chapter 2 112Exercises 113 3 Data Input/Output 127Edward B. Magrab3.1 Strings and Annotated Output 1273.1.1 Creating Strings 1273.1.2 Converting Numerical Values to Strings and Displaying Them 1303.2 Entering Data with input 1353.2.1 Entering a Scalar with input 1353.2.2 Entering a String with input 1363.2.3 Entering a Vector with input 1373.2.4 Entering a Matrix with input 1373.3 Input/Output Data Files 1373.4 Cell Arrays 1413.5 Input Microsoft Excel Files 1433.6 Summary of Functions Introduced in Chapter 3 144Exercises 145 4 Program Flow Control 148Edward B. Magrab 4.1 Introduction—The Logical Operator 1484.2 Control of Program Flow 1514.2.1 Branching—If Statement 1514.2.2 Branching—Switch Statement 1544.2.3 For Loop 1554.2.4 While Loop 1624.2.5 Early Termination of Either a for or a while Loop 1664.3 Summary of Functions Introduced in Chapter 4 166Exercises 167 5 Function Creation and Selected MATLAB Functions 172Edward B. Magrab 5.1 Introduction 1735.1.1 Why Use Functions 1735.1.2 Naming Functions 1745.1.3 Length of Functions 1745.1.4 Debugging Functions 1745.2 User-Defined Functions 1755.2.1 Introduction 1755.2.2 Function File 1755.2.3 Subfunctions 1815.2.4 Anonymous Functions 1835.2.5 inline 1845.2.6 Comparison of the Usage of Subfunctions, Anonymous Functions, and inline 1855.3 User-Defined Functions, Function Handles, and feval 1865.4 MATLAB Functions that Operate on Arrays of Data 1875.4.1 Introduction 1875.4.2 Fitting Data with Polynomials–polyfit/polyval 1885.4.3 Fitting Data with spline 1905.4.4 Interpolation of Data–interp1 1925.4.5 Numerical Integration–trapz 1935.4.6 Area of a Polygon–polyarea 1955.4.7 Digital Signal Processing–fft and ifft 1965.5 MATLAB Functions that Require User-Defined Functions 2015.5.1 Zeros of Functions–fzero and roots/poly 2025.5.2 Numerical Integration–quadl and dblquad 2075.5.3 Numerical Solutions of Ordinary Differential Equations–ode45 2125.5.4 Numerical Solutions of Ordinary Differential Equations–bvp4c 2175.5.5 Numerical Solutions of Delay Differential Equations–dde23 2315.5.6 Numerical Solutions of One-Dimensional Parabolic—Elliptic Partial Differential Equations–pdepe 2335.5.7 Local Minimum of a Function–fminbnd 2355.5.8 Numerical Solutions of Nonlinear Equations–fsolve 2385.6 Symbolic Solutions and Converting Symbolic Expressions into Functions 2405.7 Summary of Functions Introduced in Chapter 5 246Exercises 247 6 2D Graphics 265Edward B. Magrab6.1 Introduction: Graphics Management 2666.2 Basic 2D Plotting Commands 2696.2.1 Introduction 2696.2.2 Changing a Graph’s Overall Appearance 2816.2.3 Special Purpose Graphs 2816.2.4 Reading, Displaying, and Manipulating Digital Images 2886.3 Graph Annotation and Enhancement 2906.3.1 Introduction 2906.3.2 Axes and Curve Labels, Figure Titles, Legends, and Text Placement 2906.3.3 Filling Regions 2946.3.4 Greek Letters, Mathematical Symbols, Subscripts, and Superscripts 2976.3.5 Altering the Attributes of Axes, Curves,Text, and Legends 3006.3.6 Positioning One Figure Inside Another Figure 3046.3.7 Interactive Plotting Tools 3066.3.8 Animation 3076.4 Examples 3106.5 Summary of Functions Introduced in Chapter 6 319Exercises 320 7 3D Graphics 338Edward B. Magrab7.1 Lines in 3D 3387.2 Surfaces 3417.3 Summary of Functions Introduced in Chapter 7 369Exercises 370 8 Engineering Statistics 377Edward B. Magrab8.1 Descriptive Statistical Quantities 3778.2 Probability Distributions 3838.2.1 Discrete Distributions 3838.2.2 Continuous Distributions 3878.3 Confidence Intervals 3978.4 Hypothesis Testing 4018.5 Linear Regression 4048.5.1 Simple Linear Regression 4048.5.2 Multiple Linear Regression 4088.6 Design of Experiments 4158.6.1 Single-Factor Experiments: Analysis of Variance 4158.6.2 Multiple-Factor Factorial Experiments 4198.7 Summary of Functions Introduced in Chapter 8 435Exercises 436 9 Dynamics and Vibrations 445Balakumar Balachandran9.1 Dynamics of Particles and Rigid Bodies 4469.1.1 Planar Pendulum 4469.1.2 Orbital Motions 4479.1.3 Principal Moments of Inertia 4509.1.4 Stability of a Rigid Body 4519.2 Single-Degree-of-Freedom Vibratory Systems 4549.2.1 Introduction 4549.2.2 Linear Systems: Free Oscillations 4569.2.3 Linear Systems: Forced Oscillations 4629.2.4 Nonlinear Systems: Free Oscillations 4699.2.5 Nonlinear Systems: Forced Oscillations 4789.3 Systems with Multiple Degrees of Freedom 4819.3.1 Two-Degree-of-Freedom Systems: Free and Forced Oscillations 4819.3.2 Natural Frequencies and Mode Shapes 4959.4 Free and Forced Vibrations of Euler—Bernoulli and Timoshenko Beams 4999.4.1 Natural Frequencies and Mode Shapes of Euler—Bernoulli and Timoshenko Beams 4999.4.2 Forced Oscillations of Euler—Bernoulli Beams 5099.5 Summary of Functions Introduced in Chapter 9 Exercises 513Exercises 514 10 Control Systems 524Gregory C. Walsh10.1 Introduction to Control System Design 52510.1.1 Tools for Controller Design 52710.1.2 Naming and File Conventions 52810.2 Representation of Systems in MATLAB 52810.2.1 State—Space Models 53010.2.2 Transfer-Function Representation 53510.2.3 Discrete-Time Models 53810.2.4 Block Diagrams and SIMULINK 54210.2.5 Conversion Between Representations 54610.3 Response of Systems 54710.3.1 Estimating Response from Systems 54810.3.2 Estimating Response from Poles and Zeros 55110.3.3 Estimating Systems from Response 55810.4 Design Tools 56010.4.1 Design Criteria 56110.4.2 Design Tools 56410.5 Design Examples 57310.5.1 Notch Control of a Flexible Pointer 57410.5.2 PID Control of a Magnetic Suspension System 58210.5.3 Lead Control of an Inverted Pendulum 58910.5.4 Control of a Magnetically Suspended Flywheel 59610.6 Summary of Functions Introduced in Chapter 10 605Exercises 606 11 Fluid Mechanics 614James H. Duncan11.1 Hydrostatics 61411.1.1 Pressure Distribution in the Standard Atmosphere 61511.1.2 Force on a Planar Gate 61611.2 Internal Viscous Flow 62111.2.1 Laminar Flow in a Horizontal Pipe with Circular Cross Section 62111.2.2 Downward Turbulent Flow in a Vertical Pipe 62211.2.3 Three Connected Reservoirs 62411.3 External Flow 62611.3.1 Boundary Layer on an Infinite Plate Started Suddenly from Rest 62611.3.2 Blasius Boundary Layer 62811.3.3 Potential Flow 63111.3.4 Joukowski Airfoils 63611.4 Open Channel Flow 64111.5 Biological Flows 646Exercises 648 12 Heat Transfer 659Keith E. Herold12.1 Conduction Heat Transfer 66012.1.1 Transient Heat Conduction in a Semi-Infinite Slab with Surface Convection 66012.1.2 Transient Heat Conduction in an Infinite Solid Cylinder with Convection 66212.1.3 Transient One-Dimensional Conduction with a Heat Source 66412.2 Convection Heat Transfer 66812.2.1 Internal Flow Convection: Pipe Flow 66812.2.2 Thermal Boundary Layer on a Flat Plate: Similarity Solution 67212.2.3 Natural Convection Similarity Solution 67712.3 Radiation Heat Transfer 68212.3.1 Radiation View Factor: Differential Area to Arbitrary Rectangle in Parallel Planes 68212.3.2 View Factor Between Two Rectangles in Parallel Planes 68512.3.3 Enclosure Radiation with Diffuse Gray Walls 68712.3.4 Transient Radiation Heating of a Plate in a Furnace 690Exercises 692 13 Optimization 702Shapour Azarm13.1 Definition, Formulation, and Graphical Solution 70313.1.1 Introduction 70313.1.2 Graphical Solution 70313.2 Linear Programming 70613.3 Binary Integer Programming 70913.4 Nonlinear Programming: Unconstrained and Curve Fitting 71013.4.1 Unconstrained Optimization 71013.4.2 Curve Fitting: One Independent Variable 71313.4.3 Curve Fitting: Several Independent Variables 71513.5 Nonlinear Programming: Constrained Single Objective 71913.5.1 Constrained Single-Variable Method 71913.5.2 Constrained Multivariable Method 72113.5.3 Quadratic Programming 73013.5.4 Semi-Infinitely Constrained Method 73213.6 Multiobjective Optimization 73613.7 Genetic Algorithm-Based Optimization 74213.8 Summary of Functions Introduced in Chapter 13 751Exercises 752 14 Biological Systems: Transport of Heat, Mass, and Electric Charge 769Keith E. Herold14.1 Heat Transfer in Biological Systems 77014.1.1 Heat Transfer in Perfused Tissue 77014.1.2 Thermal Conductivity Determination 77314.2 Mass Transfer in Biological Systems 77514.2.1 Bicarbonate Buffer System 77514.2.2 Carbon Dioxide Transport in Blood 77814.2.3 Oxygen Transport in Blood 77914.2.4 Perfusion Bioreactor 78214.2.5 Supply of Oxygen to a Spherical Tumor 78614.2.6 Krogh Cylinder Model of Tissue Oxygenation 78914.3 Charge Transport in Biological Systems 79614.3.1 Hodgkin—Huxley Neuron Model 79614.3.2 Hodgkin—Huxley Gating Parameters 79714.3.3 Hodgkin—Huxley Model with Step Function Input 80214.3.4 Action Potential 804Exercises 807Index
“The best features of this text are certainly the examples. The combination of the worked examples from the first seven chapters with the detailed material from the applications chapters makes for an applied MATLAB text that is truly unmatched in scope or detail. Together with the easily navigated List of Examples, I challenge a mechanical engineer working in any field to read the text without finding an application that becomes part of their default toolbox, let alone one that simply interests them.” — Adam Ufford, Texas Tech “I think that this book provides one of the most comprehensive guides to MATLAB for engineering students. One of the major strengths of the book is the wealth of worked-out examples and exercises at the end of every single chapter.” — Luca Lucchese, Oregon State University “I think that the book is well written and is accessible to both beginners and experienced users alike. The large number of worked-out examples and the clarity of their presentation are certainly among the best features of the book.” — Luca Lucchese, Oregon State University “The exercises are very good and very relevant. They complement the examples well, making the combination very nice, and a step above other texts in this area.” — David Chopp, Northwestern University “The authors do a great job in presenting the material in a readable and understandable fashion. They have good examples and good problems. They also do a great job of logically introducing MATLAB functionality and sequentially building on previous concepts. Very good material!” — William Arrasmith, Florida Institute of Technology “The authors do a great job of integrating nuances of Matlab into their examples. It is also nice to have so many examples supported with the basic theory. It is also good that the authors are attempting a multi-disciplinary (Aeronautical, Mechanical, Electrical, and Civil Engineering) approach.” — William Arrasmith, Florida Institute of Technology “In this book, you can find numerous programs and examples in a wide range of engineering such as Machine Design, Vibrations, Control Systems, Dynamics, Fluid Mechanics, Heat Transfer, Statistics and Optimization. Those examples are very useful and easy to follow. Good examples in all kinds of engineering fields are one of the reasons that I am in favor of the books among all kinds of MATLAB textbooks.” — Jenny Zhou, Lamar University “I think this is a very good text book and reference for a mechanical engineering student. It is well written, easy to comprehend. The examples in the book are extremely useful to solve a wide range of engineering problems.” — Jenny Zhou, Lamar University “To program MATLAB well, one must understand vectorization and user-defined functions. This book stands out in giving well-written, understandable examples.” — Brad Burchett, Rose-Hulman Institute of Technology “The quality of the worked examples is truly unique to this textbook. The examples in Chapters 1-7 are stimulating in their content, but simple enough so that the complexity of the application does not intimidate or take away from the educational content. This is often a hard balance to find, but this text succeeds.” — Adam Ufford, Texas Tech “The quality of the problems surpasses that of any other text. The problems reinforce and test all of the necessary content, but provide a stimulating opportunity to “go beyond” the typical canned responses and apply skills to “real-world” problems.” — Adam Ufford, Texas Tech