• Book Name: MATLAB Programming with Applications for Engineers by Stephen J. Chapman
  • Author: Stephen J. Chapman
  • Pages: 597
  • Size: 7 MB
matlab programming with applications for engineers pdf, matlab programming with applications pdf, matlab programming for engineers pdf

MATLAB Programming with Applications for Engineers Pdf

MATLAB® (short for MATrix LABoratory) is a special-purpose computer program optimized to perform engineering and scientific calculations. It started life as a program designed to perform matrix mathematics, but over the years it has grown into a flexible computing system capable of solving essentially any technical problem. The MATLAB program implements the MATLAB language and provides a very extensive library of pre-defined functions to make technical programming tasks easier and more efficient. This extremely wide variety of functions makes it much easier to solve technical problems in MATLAB than in other languages such as Java, Fortran, or C. This book introduces the MATLAB language, and shows how to use it to solve typical technical problems.

This book seeks to simultaneously teach MATLAB as a technical programming language and also to introduce the student to many of the practical functions that make solving problems in MATLAB so much easier than in other languages. The book provides a complete introduction to the fundamentals of good procedural programming, developing good design habits that will serve a student well in any other language that he or she may pick up later. There is a very strong emphasis on proper program design and structure. A standard program design process is introduced at the beginning of Chapter 4 and then followed regularly throughout the remainder of the text.

In addition, the book uses the programming topics and examples as a jumping off point for exploring the rich set of highly optimized application functions that are built directly into MATLAB. For example, in Chapter 4 we present a programming example that finds the roots of a quadratic equation. This serves as a jumping off point for exploring the MATLAB function roots, which can efficiently find the roots of polynomials of any order. In Chapter 5, we present a programming example that calculates the mean and standard deviation of a data set. This serves as a jumping off point for exploring the MATLAB functions mean, median, and std. There is also a programming example showing how to do a least-squares fit to a straight-line.

MATLAB Programming with Applications for Engineers Pdf

This serves as a jumping off point for exploring MATLAB curve fitting functions such as polyfit, polyval, spline, and ppval. There are similar ties to MATLAB applications in many other chapters as well. In all cases, there are end of chapter exercises to reinforce the applications lessons learned in that chapter. In addition, Chapter 11 is devoted totally to practical MATLAB applications, including solving systems of simultaneous equations, numerical differentiation, numerical integration (quadrature), and solving ordinary differential equations. This book makes no pretense at being a complete description of all of MATLAB’s hundreds of functions. Instead, it teaches the student how to use MATLAB as a language to solve problems, and how to locate any desired function with MATLAB’s extensive on-line help facilities. It highlights quite a few of the key engineering applications, but there are far more good ones built into the language than can be covered in any course of reasonable length. With the skills developed here, students will be able to continue discovering features on their own. The Advantages of MATLAB for Problem Solving MATLAB has many advantages compared to conventional computer languages for technical problem solving. Among them are:

1. Ease of Use. MATLAB is very easy to use. The program can be used as a scratch pad to evaluate expressions typed at the command line, or it can be used to execute large pre-written programs. Programs may be easily written and modified with the built-in integrated development environment, and debugged with the MATLAB debugger. Because the language is so easy to use, it is ideal for educational use, and for the rapid prototyping of new programs. Many program development tools are provided to make the program easy to use. They include an integrated editor / debugger, on-line documentation and manuals, a workspace browser, and extensive demos.

2. Platform Independence. MATLAB is supported on many different computer systems, providing a large measure of platform independence. At the time of this writing, the language is supported on Windows XP/Vista/7, Linux, Unix, and the Macintosh. Programs written on any platform will run on all of the other platforms, and data files written on any platform may be read transparently on any other platform. As a result, programs written in MATLAB can migrate to new platforms when the needs of the user change. 

3. Pre-defined Functions. MATLAB comes complete with an extensive library of pre-defined functions that provide tested and pre-packaged solutions to many basic technical tasks. For example, suppose that you are writing a program that must calculate the statistics associated with an input data set. In most languages, you would need to write your own subroutines or functions to implement calculations such as the arithmetic mean, standard deviation, median, etc. These and hundreds of other functions are built right into the MATLAB language, making your job much easier. The built-in functions can solve an astonishing range of problems, such as solving systems of simultaneous equations, sorting, plotting, finding roots of equations, numerical integration, curve fitting, solving ordinary and partial differential equations, and much, much more. In addition to the large library of functions built into the basic MATLAB language, there are many special-purpose toolboxes available to help solve complex problems in specific areas. For example, a user can buy standard toolboxes to solve problems in Signal Processing, Control Systems, Communications, Image Processing, and Neural Networks, among many others.

4. Device-Independent Plotting. Unlike other computer languages, MATLAB has many integral plotting and imaging commands. The plots and images can be displayed on any graphical output device supported by the computer on which MATLAB is running. This capability makes MATLAB an outstanding tool for visualizing technical data. Plotting is introduced in Chapter 2, and covered extensively in Chapters 3 and 8. Advanced features such as animations and movies are covered in Chapter 10. 5. Graphical User Interface. MATLAB includes tools that allow a program to interactively construct a Graphical User Interface (GUI) for his or her program. With this capability, the programmer can design sophisticated data analysis programs that can be operated by relatively-inexperienced users.

MATLAB programming with applications for engineers pdf, matlab programming with applications pdf, matlab programming for engineers pdf.


Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *