MATLAB® For Engineers starts at the beginning to introduce first-year engineering students to MATLAB. Starting with basic algebra, you'll learn how MATLAB can be used to solve a wide range of engineering problems. Examples taken from concepts presented in early chemistry, physics, and first- and second-year engineering classes are included. When the text covers new subjects, like statistics and matrix algebra, brief background information is used to support your success. As you work through hands-on examples and exercises, you'll learn to apply a consistent problem-solving methodology to help you reach a solution. The 6th Edition reflects the MATLAB software release R2021B. Updated screenshots, new data, new problems and discussions offer a current view of the coding language and platform you'll use in your classes and career. Cover Half Title Page Title Page Copyright Page Contents About This Book Dedication and Acknowledgments Chapter 1 About Matlab 1.1 What Is Matlab? 1.2 Student Edition of Matlab 1.3 How Is Matlab Used in Industry? 1.4 Problem Solving in Engineering and Science Chapter 2 Matlab Environment 2.1 Getting Started 2.2 Matlab Windows 2.3 Solving Problems with Matlab 2.4 Saving Your Work Summary Problems Chapter 3 Built-in Matlab Functions Introduction 3.1 Using Built-in Functions 3.2 Using the Help Feature 3.3 Elementary Math Functions 3.4 Trigonometric Functions 3.5 Data Analysis Functions 3.6 Random Numbers 3.7 Complex Numbers 3.8 Computational Limitations 3.9 Special Values and Miscellaneous Functions Summary Problems Chapter 4 Manipulating Matlab Arrays Introduction 4.1 Manipulating Numeric Arrays 4.2 Problems with Two Variables— Using Meshgrid 4.3 Special Arrays 4.4 Introduction to Character and String Arrays Summary Problems Chapter 5 Plotting Introduction 5.1 Two-dimensional Plots 5.2 Subplots—tiled Chart Layouts 5.3 Other Types of Twodimensional Plots 5.4 Three-dimensional Plotting 5.5 Editing Plots from the Menu Bar 5.6 Creating Plots from the Workspace Window 5.7 Saving Your Plots 5.8 Other Plotting Options Summary Problems Chapter 6 User-defined Functions Introduction 6.1 Creating Function Files 6.2 Subfunctions 6.3 Creating Your Own Toolbox of Functions 6.4 Anonymous Functions and Function Handles 6.5 Function Functions Summary Problems Chapter 7 User-controlled Input and Output Introduction 7.1 User-defined Input 7.2 Output Options 7.3 Graphical Input 7.4 Reading and Writing Data from Files 7.5 Debugging Your Code Summary Problems Chapter 8 Logical Functions and Selection Structures Introduction 8.1 Relational and Logical Operators 8.2 Flowcharts and Pseudocode 8.3 Logical Functions 8.4 Logical Indexing 8.5 Selection Structures 8.6 Debugging Summary Problems Chapter 9 Repetition Structures Introduction 9.1 for Loops 9.2 while Loops 9.3 break AND continue 9.4 Midpoint Break Loops 9.5 Nested Loops 9.6 Improving the Efficiency of Loops Summary Problems Chapter 10 Algebra Introduction 10.1 Matrix Operations and Functions 10.2 Solutions of Systems of Linear Equations 10.3 Special Matrices Summary Problems Chapter 11 Other Kinds of Arrays Introduction 11.1 Numeric Data Types 11.2 Character and String Data 11.3 Symbolic Data 11.4 Logical Data 11.5 Sparse Arrays 11.6 Categorical Arrays 11.7 Time Arrays 11.8 Multidimensional Arrays 11.9 Cell Arrays 11.10 Structure Arrays 11.11 Table Arrays 11.12 Timetable Arrays Summary Problems Chapter 12 Symbolic Mathematics Introduction 12.1 Symbolic Algebra 12.2 Solving Expressions and Equations 12.3 Symbolic Plotting 12.4 Units of Measurement 12.5 Calculus 12.6 Differential Equations 12.7 Converting Symbolic Expressions to Anonymous Functions Summary Problems Chapter 13 Numerical Techniques 13.1 Interpolation 13.2 Curve Fitting 13.3 Using the Interactive Fitting Tools 13.4 Differences and Numerical Differentiation 13.5 Numerical Integration 13.6 Solving Differential Equations Numerically Summary Problems Chapter 14 Advanced Graphics Introduction 14.1 Images 14.2 Graphics Objects 14.3 Animation 14.4 Other Visualization Techniques 14.5 Introduction to Volume Visualization Summary Problems Chapter 15 Simulink— a Brief Introduction Introduction 15.1 Applications 15.2 Getting Started 15.3 Solving Differential Equations with Simulink Summary Problems Appendix A Special Characters, Commands, and Functions Appendix B Scaling Techniques Appendix C Annual Climatological Summary Index "This book grew out of my experience teaching MATLAB® and other computing languages to freshmen engineering students at Salt Lake Community College. I was frustrated by the lack of a text that "started at the beginning." Although there were many comprehensive reference books, they assumed a level of both mathematical and computer sophistication that my students did not possess. Also, because MATLAB® was originally adopted by practitioners in the fields of signal processing and electrical engineering, most of these texts provided examples primarily from those areas, an approach that didn't fit with a general engineering curriculum. This text starts with basic algebra and shows how MATLAB® can be used to solve engineering problems from a wide range of disciplines. The examples are drawn from concepts introduced in early chemistry and physics classes and freshman and sophomore engineering classes. A standard problem-solving methodology is used consistently. The text assumes that the student has a basic understanding of college algebra and has been introduced to trigonometric concepts; students who are mathematically more advanced generally progress through the material more rapidly. Although the text is not intended to teach subjects such as statistics or matrix algebra, when the MATLAB® techniques related to these subjects are introduced, a brief background is included. In addition, sections describing MATLAB® techniques for solving problems by means of calculus and differential equations are introduced near the end of appropriate chapters. These sections can be assigned for additional study to students with a more advanced mathematics background, or they may be useful as reference material as students progress through an engineering curriculum"-- Provided by publisher