MATLAB Notes for Professionals book: Programming and Problem Solving
- Length: 200 pages
- Edition: 1
- Language: English
- Publication Date: 2021-07-28
- ISBN-10: B09BG7STJF
- Sales Rank: #0 (See Top 100 Books)
MATLAB: A Practical Introduction to Programming and Problem Solving, winner of TAA’s 2017 Textbook Excellence Award (“Texty”), guides the reader through both programming and built-in functions to easily exploit MATLAB’s extensive capabilities for tackling engineering and scientific problems. Assuming no knowledge of programming, this book starts with programming concepts, such as variables, assignments, and selection statements, moves on to loops, and then solves problems using both the programming concept and the power of MATLAB. The fifth edition has been updated to reflect the functionality of the current version of MATLAB (R2018a), including the addition of local functions in scripts, the new string type, coverage of recently introduced functions to import data from web sites, and updates to the Live Editor and App Designer.
About Chapter 1: Getting started with MATLAB Language Section 1.1: Indexing matrices and arrays Section 1.2: Anonymous functions and function handles Section 1.3: Matrices and Arrays Section 1.4: Cell arrays Section 1.5: Hello World Section 1.6: Scripts and Functions Section 1.7: Helping yourself Section 1.8: Data Types Section 1.9: Reading Input & Writing Output Chapter 2: Initializing Matrices or arrays Section 2.1: Creating a matrix of 0s Section 2.2: Creating a matrix of 1s Section 2.3: Creating an identity matrix Chapter 3: Conditions Section 3.1: IF condition Section 3.2: IF-ELSE condition Section 3.3: IF-ELSEIF condition Section 3.4: Nested conditions Chapter 4: Functions Section 4.1: nargin, nargout Chapter 5: Set operations Section 5.1: Elementary set operations Chapter 6: Documenting functions Section 6.1: Obtaining a function signature Section 6.2: Simple Function Documentation Section 6.3: Local Function Documentation Section 6.4: Documenting a Function with an Example Script Chapter 7: Using functions with logical output Section 7.1: All and Any with empty arrays Chapter 8: For loops Section 8.1: Iterate over columns of matrix Section 8.2: Notice: Weird same counter nested loops Section 8.3: Iterate over elements of vector Section 8.4: Nested Loops Section 8.5: Loop 1 to n Section 8.6: Loop over indexes Chapter 9: Object-Oriented Programming Section 9.1: Value vs Handle classes Section 9.2: Constructors Section 9.3: Defining a class Section 9.4: Inheriting from classes and abstract classes Chapter 10: Vectorization Section 10.1: Use of bsxfun Section 10.2: Implicit array expansion (broadcasting) [R2016b] Section 10.3: Element-wise operations Section 10.4: Logical Masking Section 10.5: Sum, mean, prod & co Section 10.6: Get the value of a function of two or more arguments Chapter 11: Matrix decompositions Section 11.1: Schur decomposition Section 11.2: Cholesky decomposition Section 11.3: QR decomposition Section 11.4: LU decomposition Section 11.5: Singular value decomposition Chapter 12: Graphics: 2D Line Plots Section 12.1: Split line with NaNs Section 12.2: Multiple lines in a single plot Section 12.3: Custom colour and line style orders Chapter 13: Graphics: 2D and 3D Transformations Section 13.1: 2D Transformations Chapter 14: Controlling Subplot coloring in MATLAB Section 14.1: How it's done Chapter 15: Image processing Section 15.1: Basic image I/O Section 15.2: Retrieve Images from the Internet Section 15.3: Filtering Using a 2D FFT Section 15.4: Image Filtering Section 15.5: Measuring Properties of Connected Regions Chapter 16: Drawing Section 16.1: Circles Section 16.2: Arrows Section 16.3: Ellipse Section 16.4: Pseudo 4D plot Section 16.5: Fast drawing Section 16.6: Polygon(s) Chapter 17: Financial Applications Section 17.1: Random Walk Section 17.2: Univariate Geometric Brownian Motion Chapter 18: Fourier Transforms and Inverse Fourier Transforms Section 18.1: Implement a simple Fourier Transform in MATLAB Section 18.2: Images and multidimensional FTs Section 18.3: Inverse Fourier Transforms Chapter 19: Ordinary Dierential Equations (ODE) Solvers Section 19.1: Example for odeset Chapter 20: Interpolation with MATLAB Section 20.1: Piecewise interpolation 2 dimensional Section 20.2: Piecewise interpolation 1 dimensional Section 20.3: Polynomial interpolation Chapter 21: Integration Section 21.1: Integral, integral2, integral3 Chapter 22: Reading large files Section 22.1: textscan Section 22.2: Date and time strings to numeric array fast Chapter 23: Usage of `accumarray()` Function Section 23.1: Apply Filter to Image Patches and Set Each Pixel as the Mean of the Result of Each Patch Section 23.2: Finding the maximum value among elements grouped by another vector Chapter 24: Introduction to MEX API Section 24.1: Check number of inputs/outputs in a C++ MEX-file Section 24.2: Input a string, modify it in C, and output it Section 24.3: Passing a struct by field names Section 24.4: Pass a 3D matrix from MATLAB to C Chapter 25: Debugging Section 25.1: Working with Breakpoints Section 25.2: Debugging Java code invoked by MATLAB Chapter 26: Performance and Benchmarking Section 26.1: Identifying performance bottlenecks using the Profiler Section 26.2: Comparing execution time of multiple functions Section 26.3: The importance of preallocation Section 26.4: It's ok to be `single`! Chapter 27: Multithreading Section 27.1: Using parfor to parallelize a loop Section 27.2: Executing commands in parallel using a "Single Program, Multiple Data" (SPMD) statement Section 27.3: Using the batch command to do various computations in parallel Section 27.4: When to use parfor Chapter 28: Using serial ports Section 28.1: Creating a serial port on Mac/Linux/Windows Section 28.2: Choosing your communication mode Section 28.3: Automatically processing data received from a serial port Section 28.4: Reading from the serial port Section 28.5: Closing a serial port even if lost, deleted or overwritten Section 28.6: Writing to the serial port Chapter 29: Undocumented Features Section 29.1: Color-coded 2D line plots with color data in third dimension Section 29.2: Semi-transparent markers in line and scatter plots Section 29.3: C++ compatible helper functions Section 29.4: Scatter plot jitter Section 29.5: Contour Plots - Customise the Text Labels Section 29.6: Appending / adding entries to an existing legend Chapter 30: MATLAB Best Practices Section 30.1: Indent code properly Section 30.2: Avoid loops Section 30.3: Keep lines short Section 30.4: Use assert Section 30.5: Block Comment Operator Section 30.6: Create Unique Name for Temporary File Chapter 31: MATLAB User Interfaces Section 31.1: Passing Data Around User Interface Section 31.2: Making a button in your UI that pauses callback execution Section 31.3: Passing data around using the "handles" structure Section 31.4: Performance Issues when Passing Data Around User Interface Chapter 32: Useful tricks Section 32.1: Extract figure data Section 32.2: Code Folding Preferences Section 32.3: Functional Programming using Anonymous Functions Section 32.4: Save multiple figures to the same .fig file Section 32.5: Comment blocks Section 32.6: Useful functions that operate on cells and arrays Chapter 33: Common mistakes and errors Section 33.1: The transpose operators Section 33.2: Do not name a variable with an existing function name Section 33.3: Be aware of floating point inaccuracy Section 33.4: What you see is NOT what you get: char vs cellstring in the command window Section 33.5: Undefined Function or Method X for Input Arguments of Type Y Section 33.6: The use of "i" or "j" as imaginary unit, loop indices or common variable Section 33.7: Not enough input arguments Section 33.8: Using `length` for multidimensional arrays Section 33.9: Watch out for array size changes Credits You may also like
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.