Learn Two Popular Programming Languages in a Single Volume
Widely used by scientists and engineers, well-established MATLAB (R) and open-source Octave are similar software programs providing excellent capabilities for data analysis, visualization, and more. By means of straightforward explanations and examples from different areas in mathematics, engineering, finance, and physics, Essential MATLAB and Octave explains how MATLAB and Octave are powerful tools applicable to a variety of problems. This text provides an introduction that reveals basic structures and syntax, demonstrates the use of functions and procedures, outlines availability in various platforms, and highlights the most important elements for both programs.
Effectively Implement Models and Prototypes Using Computational Models
This text requires no prior knowledge. Self-contained, it allows the reader to use the material whenever needed rather than follow a particular order. Compatible with both languages, the book material incorporates commands and structures that allow the reader to gain a greater awareness of MATLAB and Octave, write their own code, and implement their scripts and programs within a variety of applicable fields. It is always made clear when particular examples apply only to MATLAB or only to Octave, allowing the book to be used flexibly depending on readers' requirements.
Includes brief, simple code that works in both MATLAB and Octave
Provides exercise sections at the end of each chapter
Introduces framed examples and discussions with a scientific twist
Exercises are provided at the end of each chapter
Essential MATLAB and Octave offers an introductory course in MATLAB and Octave programming and is an authoritative resource for students in physics, mathematics, statistics, engineering, and any other subjects that require the use of computers to solve numerical problems.
Dr. Jesus Rogel-Salazar is a member of the School of Physics, Astronomy and Mathematics at the University of Hertfordshire, UK, and a visiting researcher at the Department of Physics at Imperial College London, UK. He obtained his doctorate in physics at Imperial College London for work on quantum atom optics and ultra-cold matter. He has held a position as senior lecturer in mathematics as well as a consultant in the financial industry since 2006. His interests include mathematical modelling, data science, and optimization in a wide range of applications including optics, quantum mechanics, data journalism, and finance.
MATLAB (R) and Octave: The Essential Essentials MATLAB and Octave Starting Up and Closing Down Using MATLAB and Octave as a Calculator Numbers and Formats Variables Suppressing Output Built-In Functions Characters, String and Text Saving a Session Summary Exercises Vectors and Vector Operators Vectors The Colon Notation (:) Extracting Parts of a Vector Column Vectors Transposition of Vectors Vector Multiplication Scalar Product, * Dot-Star Product, .* Dot-Division of Vectors, ./ Dot-Power of Vectors, .^ Summary Exercises Matrices and Matrix Operators Size of a Matrix Transpose of a Matrix Special Matrices Diagonal Matrices Building Matrices Tabulating Functions Extracting Parts of Matrices Matrix Multiplication Sparse Matrices Systems of Linear Equations Summary Exercises Plotting Plotting Simple Functions Information in the Plot Multiple Plots Holding Figures Subplots Formatted Text Changing Axes Plotting Surfaces More Plots Summary Exercises Programming MATLAB (R) and Octave Script Files Flow of a Programme Loops in MATLAB and Octave Conditionals: If... Then... Else... Procedures and Functions with m-Files Built-In Functions Function Handles Debugging Timing Reading and Writing Files Summary Exercises MATLAB (R) and Octave in Action Linear Algebra: Linear Combinations Linear Algebra: Eigenvalues and Eigenvectors Portfolio Risk: Minimum Variance and Target Portfolios Differential Equations: Predator-Prey Model Signal Processing: Fourier Transform Physics: The Wave Equation Quantum Mechanics: The Schroedinger Equation and Pauli Matrices Summary Exercises Differences between MATLAB (R) and Octave Bibliography Index