Programming with MATLAB 2016


Book Description

This book is designed for undergraduate students, completely new to programming with MATLAB. Case studies and examples are used extensively throughout this book and are at the core of what makes this book so unique. The author believes that the best way to learn MATLAB is to study programs written by experienced programmers and that the quality of these example programs determines the quality of the book. The examples in this book are carefully designed to teach you MATLAB programming as well as to inspire within you your own problem solving potential. Most of the examples used in this book are designed to solve a whole class of problems, rather than a single, specific problem. A learn by doing teaching approach is used all through the book. You are guided to tackle a problem using MATLAB commands first and then the commands are explained line by line. This process of learning through hands on experience is one of the most efficient and pain-free ways of learning MATLAB. This approach, together with the extensive use of ordered textboxes, figures, and tables, greatly reduces the size of the book, while still providing you with a book that’s comprehensive and easy to follow. The first chapter of this book introduces the MATLAB programming environment and familiarizes you with MATLAB’s core functionality. Chapters two through nine discuss basic MATLAB functionalities in a progressive and comprehensive way. The chapters start out simple and build in complexity as you advance through the book. Chapters ten through thirteen cover advanced topics that are particularly useful in college programs. Each chapter consists of sections, each covering a topic and providing one or more examples. Related MATLAB functions are organized at the end of a section. Additional exercise problems are provided at the end of chapters two through nine. Examples in each section are presented in a consistent way. An example is usually described first, followed by a MATLAB script. Any resulting text and graphics output (and in some cases inputs) that are produced from running a script are presented and discussed. Finally, the remainder of each section is devoted to explaining the purpose of the lines of the script.




Programming and Engineering Computing with MATLAB 2021


Book Description

This book is designed for undergraduate students completely new to programming with MATLAB. Case studies and examples are used extensively throughout this book and are at the core of what makes this book so unique. The author believes that the best way to learn MATLAB is to study programs written by experienced programmers and that the quality of these example programs determines the quality of the book. The examples in this book are carefully designed to teach you MATLAB programming as well as to inspire within you your own problem solving potential. Most of the examples used in this book are designed to solve a whole class of problems, rather than a single, specific problem. A learn by doing teaching approach is used all through the book. You are guided to tackle a problem using MATLAB commands first and then the commands are explained line by line. This process of learning through hands on experience is one of the most efficient and pain-free ways of learning MATLAB. This approach, together with the extensive use of ordered textboxes, figures, and tables, greatly reduces the size of the book, while still providing you with a book that’s comprehensive and easy to follow. The first chapter of this book introduces the MATLAB programming environment and familiarizes you with MATLAB’s core functionality. Chapters two through nine discuss basic MATLAB functionalities in a progressive and comprehensive way. The chapters start out simple and build in complexity as you advance through the book. Chapters ten through thirteen cover advanced topics that are particularly useful in college programs. Each chapter consists of sections, each covering a topic and providing one or more examples. Related MATLAB functions are organized at the end of a section. Additional exercise problems are provided at the end of chapters two through nine. Examples in each section are presented in a consistent way. An example is usually described first, followed by a MATLAB script. Any resulting text and graphics output (and in some cases inputs) that are produced from running a script are presented and discussed. Finally, the remainder of each section is devoted to explaining the purpose of the lines of the script. Who this book is for This book is developed mainly for undergraduate engineering students. It may be used in courses such as Computers in Engineering, or others that use MATLAB as a software platform. It can also be used as a self-study book for learning MATLAB. College level engineering examples are used in this book. Background knowledge for these engineering examples is illustrated as thoroughly as possible.




GPU Programming in MATLAB


Book Description

GPU programming in MATLAB is intended for scientists, engineers, or students who develop or maintain applications in MATLAB and would like to accelerate their codes using GPU programming without losing the many benefits of MATLAB. The book starts with coverage of the Parallel Computing Toolbox and other MATLAB toolboxes for GPU computing, which allow applications to be ported straightforwardly onto GPUs without extensive knowledge of GPU programming. The next part covers built-in, GPU-enabled features of MATLAB, including options to leverage GPUs across multicore or different computer systems. Finally, advanced material includes CUDA code in MATLAB and optimizing existing GPU applications. Throughout the book, examples and source codes illustrate every concept so that readers can immediately apply them to their own development. - Provides in-depth, comprehensive coverage of GPUs with MATLAB, including the parallel computing toolbox and built-in features for other MATLAB toolboxes - Explains how to accelerate computationally heavy applications in MATLAB without the need to re-write them in another language - Presents case studies illustrating key concepts across multiple fields - Includes source code, sample datasets, and lecture slides




Programming and Engineering Computing with MATLAB 2019


Book Description

This book is designed for undergraduate students completely new to programming with MATLAB. Case studies and examples are used extensively throughout this book and are at the core of what makes this book so unique. The author believes that the best way to learn MATLAB is to study programs written by experienced programmers and that the quality of these example programs determines the quality of the book. The examples in this book are carefully designed to teach you MATLAB programming as well as to inspire within you your own problem solving potential. Most of the examples used in this book are designed to solve a whole class of problems, rather than a single, specific problem. A learn by doing teaching approach is used all through the book. You are guided to tackle a problem using MATLAB commands first and then the commands are explained line by line. This process of learning through hands on experience is one of the most efficient and pain-free ways of learning MATLAB. This approach, together with the extensive use of ordered textboxes, figures, and tables, greatly reduces the size of the book, while still providing you with a book that’s comprehensive and easy to follow. The first chapter of this book introduces the MATLAB programming environment and familiarizes you with MATLAB’s core functionality. Chapters two through nine discuss basic MATLAB functionalities in a progressive and comprehensive way. The chapters start out simple and build in complexity as you advance through the book. Chapters ten through thirteen cover advanced topics that are particularly useful in college programs. Each chapter consists of sections, each covering a topic and providing one or more examples. Related MATLAB functions are organized at the end of a section. Additional exercise problems are provided at the end of chapters two through nine. Examples in each section are presented in a consistent way. An example is usually described first, followed by a MATLAB script. Any resulting text and graphics output (and in some cases inputs) that are produced from running a script are presented and discussed. Finally, the remainder of each section is devoted to explaining the purpose of the lines of the script.




A Guide to MATLAB Object-Oriented Programming


Book Description

The first book to deliver broad coverage of the documented and undocumented object-oriented features of MATLAB, this guide aids readers in creating effective software. Eight basic functions are discussed: constructor, subsref, subsasgn, display, struct, fieldnames, get, and set. Also explored are inheritance topics and the Class Wizard, a powerful MATLAB class generation tool. The final section delves into advanced strategies, including vectorized classes, containers, static variables, and function fronts, protected visibility, and pass-by-reference visibility. Included is a CD-ROM with source code, enabling readers to experiment with modifications and apply new concepts.




Essential MATLAB for Scientists and Engineers


Book Description

Based on a teach-yourself approach, the fundamentals of MATLAB are illustrated throughout with many examples from a number of different scientific and engineering areas, such as simulation, population modelling, and numerical methods, as well as from business and everyday life. Some of the examples draw on first-year university level maths, but these are self-contained so that their omission will not detract from learning the principles of using MATLAB.This completely revised new edition is based on the latest version of MATLAB. New chapters cover handle graphics, graphical user interfaces (GUIs), structures and cell arrays, and importing/exporting data. The chapter on numerical methods now includes a general GUI-driver ODE solver.* Maintains the easy informal style of the first edition* Teaches the basic principles of scientific programming with MATLAB as the vehicle* Covers the latest version of MATLAB




MATLAB Primer


Book Description

Highlighting the new aspects of MATLAB 7.10 and expanding on many existing features, this eighth edition continues to offer a hands-on, step-by-step introduction to using the powerful tools of MATLAB. It includes a new chapter on object-oriented programming, a new discussion of the MATLAB File Exchange window, major changes to the MATLAB Editor, and an explanation of more powerful Help tools. It also presents a synopsis of the most frequently used functions, operators, and special characters-providing quick and easy access to frequently used information. M-files and MEX-files for large examples are available at www.crcpress.com




Accelerating MATLAB Performance


Book Description

The MATLAB programming environment is often perceived as a platform suitable for prototyping and modeling but not for "serious" applications. One of the main complaints is that MATLAB is just too slow. Accelerating MATLAB Performance aims to correct this perception by describing multiple ways to greatly improve MATLAB program speed. Packed with tho




Programming for Computations - MATLAB/Octave


Book Description

This book presents computer programming as a key method for solving mathematical problems. There are two versions of the book, one for MATLAB and one for Python. The book was inspired by the Springer book TCSE 6: A Primer on Scientific Programming with Python (by Langtangen), but the style is more accessible and concise, in keeping with the needs of engineering students. The book outlines the shortest possible path from no previous experience with programming to a set of skills that allows the students to write simple programs for solving common mathematical problems with numerical methods in engineering and science courses. The emphasis is on generic algorithms, clean design of programs, use of functions, and automatic tests for verification.




MATLAB Programming for Engineers


Book Description

Emphasising problem-solving throughout, this title introduces the MATLAB language and shows how to use it to solve typical technical problems. It demonstrates how to write clean, efficient, and well-documented programs and how to locate any desired function with MATLAB's online help facilities.