1. Trang chủ
  2. » Khoa Học Tự Nhiên

Magrab engineer guide MATLAB 3rd txtbk

847 23 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Cấu trúc

  • Cover Page

  • THE SOLUTION MANUAL

  • Title Page

  • Copyright Page

  • Dedication Page

  • CONTENTS

  • List of Examples

  • Preface to Third Edition

  • 1 Introduction

    • 1.1 Introduction

      • 1.1.1 Organization of the Book and Its Goals

      • 1.1.2 Some Suggestions on How to Use MATLAB

      • 1.1.3 Book Notation Conventions

    • 1.2 The MATLAB Environment

      • 1.2.1 Introduction

      • 1.2.2 Preliminaries—Command Window Management

      • 1.2.3 Executing Expressions from the MATLAB Command Window—Basic MATLAB Syntax

      • 1.2.4 Clarification and Exceptions to MATLAB’S Syntax

      • 1.2.5 MATLAB Functions

      • 1.2.6 Creating Scripts and Executing Them from the MATLAB Editor

    • 1.3 Online Help

    • 1.4 The Symbolic Toolbox

    • 1.5 Summary of Functions Introduced in Chapter 1

    • Exercises

  • 2 Vectors and Matrices

    • 2.1 Introduction

    • 2.2 Definitions of Matrices and Vectors

    • 2.3 Creation of Vectors

    • 2.4 Creation of Matrices

    • 2.5 Dot Operations

    • 2.6 Mathematical Operations with Matrices

      • 2.6.1 Addition and Subtraction

      • 2.6.2 Multiplication

      • 2.6.3 Determinants

      • 2.6.4 Matrix Inverse

      • 2.6.5 Solution of a System of Equations

    • 2.7 Summary of Functions Introduced in Chapter 2

    • Exercises

  • 3 Data Input/Output

    • 3.1 Strings and Annotated Output

      • 3.1.1 Creating Strings

      • 3.1.2 Converting Numerical Values to Strings and Displaying Them

    • 3.2 Entering Data with input

      • 3.2.1 Entering a Scalar with input

      • 3.2.2 Entering a String with input

      • 3.2.3 Entering a Vector with input

      • 3.2.4 Entering a Matrix with input

    • 3.3 Input/Output Data Files

    • 3.4 Cell Arrays

    • 3.5 Input Microsoft Excel Files

    • 3.6 Summary of Functions Introduced in Chapter 3

    • Exercises

  • 4 Program Flow Control

    • 4.1 Introduction—The Logical Operator

    • 4.2 Control of Program Flow

      • 4.2.1 Branching—If Statement

      • 4.2.2 Branching—Switch Statement

      • 4.2.3 For Loop

      • 4.2.4 While Loop

      • 4.2.5 Early Termination of Either a for or a while Loop

    • 4.3 Summary of Functions Introduced in Chapter 4

    • Exercises

  • 5 Function Creation and Selected MATLAB Functions

    • 5.1 Introduction

      • 5.1.1 Why Use Functions

      • 5.1.2 Naming Functions

      • 5.1.3 Length of Functions

      • 5.1.4 Debugging Functions

    • 5.2 User-Defined Functions

      • 5.2.1 Introduction

      • 5.2.2 Function File

      • 5.2.3 Subfunctions

      • 5.2.4 Anonymous Functions

      • 5.2.5 inline

      • 5.2.6 Comparison of the Usage of Subfunctions, Anonymous Functions, and inline

    • 5.3 User-Defined Functions, Function Handles, and feval

    • 5.4 MATLAB Functions that Operate on Arrays of Data

      • 5.4.1 Introduction

      • 5.4.2 Fitting Data with Polynomials—polyfit/polyval

      • 5.4.3 Fitting Data with spline

      • 5.4.4 Interpolation of Data—interp1

      • 5.4.5 Numerical Integration—trapz

      • 5.4.6 Area of a Polygon—polyarea

      • 5.4.7 Digital Signal Processing—fft and ifft

    • 5.5 MATLAB Functions that Require User-Defined Functions

      • 5.5.1 Zeros of Functions—fzero and roots/poly

      • 5.5.2 Numerical Integration—quadl and dblquad

      • 5.5.3 Numerical Solutions of Ordinary Differential Equations—ode45

      • 5.5.4 Numerical Solutions of Ordinary Differential Equations—bvp4c

      • 5.5.5 Numerical Solutions of Delay Differential Equations—dde23

      • 5.5.6 Numerical Solutions of One-Dimensional Parabolic–Elliptic Partial Differential Equations—pdepe

      • 5.5.7 Local Minimum of a Function—fminbnd

      • 5.5.8 Numerical Solutions of Nonlinear Equations—fsolve

    • 5.6 Symbolic Solutions and Converting Symbolic Expressions into Functions

    • 5.7 Summary of Functions Introduced in Chapter 5

    • Exercises

  • 6 2D Graphics

    • 6.1 Introduction: Graphics Management

    • 6.2 Basic 2D Plotting Commands

      • 6.2.1 Introduction

      • 6.2.2 Changing a Graph’s Overall Appearance

      • 6.2.3 Special Purpose Graphs

      • 6.2.4 Reading, Displaying, and Manipulating Digital Images

    • 6.3 Graph Annotation and Enhancement

      • 6.3.1 Introduction

      • 6.3.2 Axes and Curve Labels, Figure Titles, Legends, and Text Placement

      • 6.3.3 Filling Regions

      • 6.3.4 Greek Letters, Mathematical Symbols, Subscripts, and Superscripts

      • 6.3.5 Altering the Attributes of Axes, Curves,Text, and Legends

      • 6.3.6 Positioning One Figure Inside Another Figure

      • 6.3.7 Interactive Plotting Tools

      • 6.3.8 Animation

    • 6.4 Examples

    • 6.5 Summary of Functions Introduced in Chapter 6

    • Exercises

  • 7 3D Graphics

    • 7.1 Lines in 3D

    • 7.2 Surfaces

    • 7.3 Summary of Functions Introduced in Chapter 7

    • Exercises

  • 8 Engineering Statistics

    • 8.1 Descriptive Statistical Quantities

    • 8.2 Probability Distributions

      • 8.2.1 Discrete Distributions

      • 8.2.2 Continuous Distributions

    • 8.3 Confidence Intervals

    • 8.4 Hypothesis Testing

    • 8.5 Linear Regression

      • 8.5.1 Simple Linear Regression

      • 8.5.2 Multiple Linear Regression

    • 8.6 Design of Experiments

      • 8.6.1 Single-Factor Experiments: Analysis of Variance

      • 8.6.2 Multiple-Factor Factorial Experiments

    • 8.7 Summary of Functions Introduced in Chapter 8

    • Exercises

  • 9 Dynamics and Vibrations

    • 9.1 Dynamics of Particles and Rigid Bodies

      • 9.1.1 Planar Pendulum

      • 9.1.2 Orbital Motions

      • 9.1.3 Principal Moments of Inertia

      • 9.1.4 Stability of a Rigid Body

    • 9.2 Single-Degree-of-Freedom Vibratory Systems

      • 9.2.1 Introduction

      • 9.2.2 Linear Systems: Free Oscillations

      • 9.2.3 Linear Systems: Forced Oscillations

      • 9.2.4 Nonlinear Systems: Free Oscillations

      • 9.2.5 Nonlinear Systems: Forced Oscillations

    • 9.3 Systems with Multiple Degrees of Freedom

      • 9.3.1 Two-Degree-of-Freedom Systems: Free and Forced Oscillations

      • 9.3.2 Natural Frequencies and Mode Shapes

    • 9.4 Free and Forced Vibrations of Euler–Bernoulli and Timoshenko Beams

      • 9.4.1 Natural Frequencies and Mode Shapes of Euler–Bernoulli and Timoshenko Beams

      • 9.4.2 Forced Oscillations of Euler–Bernoulli Beams

    • 9.5 Summary of Functions Introduced in Chapter 9

    • Exercises

  • 10 Control Systems

    • 10.1 Introduction to Control System Design

      • 10.1.1 Tools for Controller Design

      • 10.1.2 Naming and File Conventions

    • 10.2 Representation of Systems in MATLAB

      • 10.2.1 State–Space Models

      • 10.2.2 Transfer-Function Representation

      • 10.2.3 Discrete-Time Models

      • 10.2.4 Block Diagrams and SIMULINK

      • 10.2.5 Conversion Between Representations

    • 10.3 Response of Systems

      • 10.3.1 Estimating Response from Systems

      • 10.3.2 Estimating Response from Poles and Zeros

      • 10.3.3 Estimating Systems from Response

    • 10.4 Design Tools

      • 10.4.1 Design Criteria

      • 10.4.2 Design Tools

    • 10.5 Design Examples

      • 10.5.1 Notch Control of a Flexible Pointer

      • 10.5.2 PID Control of a Magnetic Suspension System

      • 10.5.3 Lead Control of an Inverted Pendulum

      • 10.5.4 Control of a Magnetically Suspended Flywheel

    • 10.6 Summary of Functions Introduced in Chapter 10

    • Exercises

  • 11 Fluid Mechanics

    • 11.1 Hydrostatics

      • 11.1.1 Pressure Distribution in the Standard Atmosphere

      • 11.1.2 Force on a Planar Gate

    • 11.2 Internal Viscous Flow

      • 11.2.1 Laminar Flow in a Horizontal Pipe with Circular Cross Section

      • 11.2.2 Downward Turbulent Flow in a Vertical Pipe

      • 11.2.3 Three Connected Reservoirs

    • 11.3 External Flow

      • 11.3.1 Boundary Layer on an Infinite Plate Started Suddenly from Rest

      • 11.3.2 Blasius Boundary Layer

      • 11.3.3 Potential Flow

      • 11.3.4 Joukowski Airfoils

    • 11.4 Open Channel Flow

    • 11.5 Biological Flows

    • Exercises

  • 12 Heat Transfer

    • 12.1 Conduction Heat Transfer

      • 12.1.1 Transient Heat Conduction in a Semi-Infinite Slab with Surface Convection

      • 12.1.2 Transient Heat Conduction in an Infinite Solid Cylinder with Convection

      • 12.1.3 Transient One-Dimensional Conduction with a Heat Source

    • 12.2 Convection Heat Transfer

      • 12.2.1 Internal Flow Convection: Pipe Flow

      • 12.2.2 Thermal Boundary Layer on a Flat Plate: Similarity Solution

      • 12.2.3 Natural Convection Similarity Solution

    • 12.3 Radiation Heat Transfer

      • 12.3.1 Radiation View Factor: Differential Area to Arbitrary Rectangle in Parallel Planes

      • 12.3.2 View Factor Between Two Rectangles in Parallel Planes

      • 12.3.3 Enclosure Radiation with Diffuse Gray Walls

      • 12.3.4 Transient Radiation Heating of a Plate in a Furnace

    • Exercises

  • 13 Optimization

    • 13.1 Definition, Formulation, and Graphical Solution

      • 13.1.1 Introduction

      • 13.1.2 Graphical Solution

    • 13.2 Linear Programming

    • 13.3 Binary Integer Programming

    • 13.4 Nonlinear Programming: Unconstrained and Curve Fitting

      • 13.4.1 Unconstrained Optimization

      • 13.4.2 Curve Fitting: One Independent Variable

      • 13.4.3 Curve Fitting: Several Independent Variables

    • 13.5 Nonlinear Programming: Constrained Single Objective

      • 13.5.1 Constrained Single-Variable Method

      • 13.5.2 Constrained Multivariable Method

      • 13.5.3 Quadratic Programming

      • 13.5.4 Semi-Infinitely Constrained Method

    • 13.6 Multiobjective Optimization

    • 13.7 Genetic Algorithm-Based Optimization

    • 13.8 Summary of Functions Introduced in Chapter 13

    • Exercises

  • 14 Biological Systems: Transport of Heat, Mass, and Electric Charge

    • 14.1 Heat Transfer in Biological Systems

      • 14.1.1 Heat Transfer in Perfused Tissue

      • 14.1.2 Thermal Conductivity Determination

    • 14.2 Mass Transfer in Biological Systems

      • 14.2.1 Bicarbonate Buffer System

      • 14.2.2 Carbon Dioxide Transport in Blood

      • 14.2.3 Oxygen Transport in Blood

      • 14.2.4 Perfusion Bioreactor

      • 14.2.5 Supply of Oxygen to a Spherical Tumor

      • 14.2.6 Krogh Cylinder Model of Tissue Oxygenation

    • 14.3 Charge Transport in Biological Systems

      • 14.3.1 Hodgkin–Huxley Neuron Model

      • 14.3.2 Hodgkin–Huxley Gating Parameters

      • 14.3.3 Hodgkin–Huxley Model with Step Function Input

      • 14.3.4 Action Potential

    • Exercises

  • INDEX

Nội dung

www.TheSolutionManual.com www.TheSolutionManual.com An Engineer’s Guide to MATLAB® www.TheSolutionManual.com This page intentionally left blank www.TheSolutionManual.com An Engineer’s Guide to MATLAB® With Applications from Mechanical, Aerospace, Electrical, Civil, and Biological Systems Engineering Third Edition Edward B Magrab Department of Mechanical Engineering, University of Maryland, College Park, MD Shapour Azarm Department of Mechanical Engineering, University of Maryland, College Park, MD Balakumar Balachandran Department of Mechanical Engineering, University of Maryland, College Park, MD James H Duncan Department of Mechanical Engineering, University of Maryland, College Park, MD Keith E Herold Fischell Department of Bioengineering, University of Maryland, College Park, MD Gregory C Walsh Leica Geosystems, Inc., San Ramon, CA Prentice Hall Boston Columbus Indianapolis New York San Francisco Upper Saddle River Amsterdam Cape Town Dubai London Madrid Milan Munich Paris Montreal Toronto Delhi Mexico City Sao Paulo Sydney Hong Kong Seoul Singapore Taipei Tokyo www.TheSolutionManual.com VP/Editorial Director, Engineering/Computer Science: Marcia J Horton Assistant/Supervisor: Dolores Mars Senior Editor: Tacy Quinn Associate Editor: Dee Bernhard Director of Marketing: Margaret Waples Senior Marketing Manager: Tim Galligan Marketing Assistant: Mack Patterson Senior Managing Editor: Scott Disanno Project Manager: Greg Dulles Senior Operations Supervisor: Alan Fischer Production Manager: Wanda Rockwell Creative Director: Jayne Conte Cover Designer: Bruce Kenselaar Cover Art: Getty Images, Inc Media Editor: Daniel Sandin Composition: Integra Printer/Binder: Courier Companies, Inc Credits and acknowledgments borrowed from other sources and reproduced, with permission, in this textbook appear on appropriate pages within text MATLAB and Simulink are registered trademarks of The Mathworks, Inc., Apple Hill, Natick MA 01760-2098 Copyright © 2011, 2005, 2000 Pearson Education, Inc., publishing as Prentice Hall, One Lake Street, Upper Saddle River, New Jersey 07458 All rights reserved Manufactured in the United States of America This publication is protected by Copyright, and permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise To obtain permission(s) to use material from this work, please submit a written request to Pearson Education, Inc., Permissions Department, One Lake Street, Upper Saddle River, New Jersey 07458 Many of the designations by manufacturers and seller to distinguish their products are claimed as trademarks Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed in initial caps or all caps Library of Congress Cataloging in Publication Data ISBN 13: 978-0-13-199110-1 ISBN 10: 0-13-199110-8 www.TheSolutionManual.com For June Coleman Magrab www.TheSolutionManual.com This page intentionally left blank www.TheSolutionManual.com Contents List of Examples Preface to Third Edition Introduction Edward B Magrab 1.1 1.2 1.3 1.4 1.5 2.7 xxi Introduction 1.1.1 Organization of the Book and Its Goals 1.1.2 Some Suggestions on How to Use MATLAB 1.1.3 Book Notation Conventions The MATLAB Environment 1.2.1 Introduction 1.2.2 Preliminaries—Command Window Management 1.2.3 Executing Expressions from the MATLAB Command Window—Basic MATLAB Syntax 1.2.4 Clarification and Exceptions to MATLAB’S Syntax 11 1.2.5 MATLAB Functions 14 1.2.6 Creating Scripts and Executing Them from the MATLAB Editor 19 Online Help 29 The Symbolic Toolbox 32 Summary of Functions Introduced in Chapter 41 Exercises 42 Vectors and Matrices Edward B Magrab 2.1 2.2 2.3 2.4 2.5 2.6 xv 51 Introduction 51 Definitions of Matrices and Vectors 52 Creation of Vectors 53 Creation of Matrices 64 Dot Operations 83 Mathematical Operations with Matrices 92 2.6.1 Addition and Subtraction 92 2.6.2 Multiplication 92 2.6.3 Determinants 101 2.6.4 Matrix Inverse 104 2.6.5 Solution of a System of Equations 107 Summary of Functions Introduced in Chapter 112 Exercises 113 vii www.TheSolutionManual.com viii Contents Data Input/Output Edward B Magrab 3.1 3.2 3.3 3.4 3.5 3.6 4.3 Strings and Annotated Output 127 3.1.1 Creating Strings 127 3.1.2 Converting Numerical Values to Strings and Displaying Them 130 Entering Data with input 135 3.2.1 Entering a Scalar with input 135 3.2.2 Entering a String with input 136 3.2.3 Entering a Vector with input 137 3.2.4 Entering a Matrix with input 137 Input/Output Data Files 137 Cell Arrays 141 Input Microsoft Excel Files 143 Summary of Functions Introduced in Chapter 144 Exercises 145 Program Flow Control Edward B Magrab 4.1 4.2 5.2 148 Introduction—The Logical Operator 148 Control of Program Flow 151 4.2.1 Branching—If Statement 151 4.2.2 Branching—Switch Statement 154 4.2.3 For Loop 155 4.2.4 While Loop 162 4.2.5 Early Termination of Either a for or a while Loop 166 Summary of Functions Introduced in Chapter 166 Exercises 167 Function Creation and Selected MATLAB Functions Edward B Magrab 5.1 127 Introduction 173 5.1.1 Why Use Functions 173 5.1.2 Naming Functions 174 5.1.3 Length of Functions 174 5.1.4 Debugging Functions 174 User-Defined Functions 175 5.2.1 Introduction 175 5.2.2 Function File 175 5.2.3 Subfunctions 181 5.2.4 Anonymous Functions 183 5.2.5 inline 184 5.2.6 Comparison of the Usage of Subfunctions, Anonymous Functions, and inline 185 172 ... www.TheSolutionManual.com An Engineer? ??s Guide to MATLAB? ? www.TheSolutionManual.com This page intentionally left blank www.TheSolutionManual.com An Engineer? ??s Guide to MATLAB? ? With Applications from... Biological Systems Engineering Third Edition Edward B Magrab Department of Mechanical Engineering, University of Maryland, College Park, MD Shapour Azarm Department of Mechanical Engineering, University... Command Window—Basic MATLAB Syntax 1.2.4 Clarification and Exceptions to MATLAB? ??S Syntax 11 1.2.5 MATLAB Functions 14 1.2.6 Creating Scripts and Executing Them from the MATLAB Editor 19 Online

Ngày đăng: 16/10/2021, 15:37

TỪ KHÓA LIÊN QUAN