Essential MATLAB and Octave


Book Description

Learn Two Popular Programming Languages in a Single Volume Widely used by scientists and engineers, well-established MATLAB® 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.




Essential MATLAB and Octave


Book Description

Learn Two Popular Programming Languages in a Single Volume Widely used by scientists and engineers, well-established MATLAB® 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.




Essential Fluids with MATLAB and Octave - Part 1 (Theory)


Book Description

This book covers the requisite theory for the basic study of fluid mechanics at low speeds. This book is unique in that it integrates engineering computation using the popular technical software MATLAB, and the free counterpart Octave. Programming is by example throughout the book. Prior knowledge of programming is not necessary. This book reviews prerequisite topics prior to teaching the subject matter. This book introduces the physics of fluid mechanics based on first principles. It develops the mathematical relations and model of fluid flow so that problems can be defined and solved. The translation of natural laws into mathematical models includes two approaches. The integral approach is simple though limited. This approach uses assumptions and simplifications that makes it easy to apply and acquire a solution; however, that solutionwill lack detail and merely provide average or overall values. Thus, the integral approach is inadequate for understanding or designing complex fluid systems. On the other hand, it may provide an approximate value with limited effort. It may be able to establish bounds around the true value. The differential approach is complex but expansive. The solution is established at every point in the flow domain, making it possible to include specific local effects and special properties of the flow. The topics in this book are illustrated with examples, with most solved by computation. The premise of this book is that science and mathematical concepts are best understood through graphics; therefore, software illustrates solutions through graphical programming. Students are taught and encouraged to explore solutions through graphics. Essential Fluids With MATLAB and Octave - Part 2 (Applications) will include design and applications based on simple parameterized models that rely mostly on algebra. These are input/output models which are infused with parameters based on empirical data that are read off charts or interpolated from tables.




Essential Mechanics - Statics and Strength of Materials with MATLAB and Octave


Book Description

Essential Mechanics - Statics and Strength of Materials with MATLAB and Octave combines two core engineering science courses - “Statics” and “Strength of Materials” - in mechanical, civil, and aerospace engineering. It weaves together various essential topics from Statics and Strength of Materials to allow discussing structural design from the very beginning. The traditional content of these courses are reordered to make it convenient to cover rigid body equilibrium and extend it to deformable body mechanics.The e-book covers the most useful topics from both courses with computational support through MATLAB/Octave. The traditional approach for engineering content is emphasized and is rigorously supported through graphics and analysis. Prior knowledge of MATLAB is not necessary. Instructions for its use in context is provided and explained. It takes advantage of the numerical, symbolic, and graphical capability of MATLAB for effective problem solving. This computational ability provides a natural procedure for What if? exploration that is important for design. The book also emphasizes graphics to understand, learn, and explore design. The idea for this book, the organization, and the flow of content is original and new. The integration of computation, and the marriage of analytical and computational skills is a new valuable experience provided by this e-book. Most importantly the book is very interactive with respect to the code as it appears along with the analysis.




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.




Scientific Computing with MATLAB and Octave


Book Description

Preface to the First Edition This textbook is an introduction to Scienti?c Computing. We will illustrate several numerical methods for the computer solution of c- tain classes of mathematical problems that cannot be faced by paper and pencil. We will show how to compute the zeros or the integrals of continuous functions, solve linear systems, approximate functions by polynomials and construct accurate approximations for the solution of di?erential equations. With this aim, in Chapter 1 we will illustrate the rules of the game thatcomputersadoptwhenstoringandoperatingwith realandcomplex numbers, vectors and matrices. In order to make our presentation concrete and appealing we will 1 adopt the programming environment MATLAB as a faithful c- panion. We will gradually discover its principal commands, statements and constructs. We will show how to execute all the algorithms that we introduce throughout the book. This will enable us to furnish an - mediate quantitative assessment of their theoretical properties such as stability, accuracy and complexity. We will solve several problems that will be raisedthrough exercises and examples, often stemming from s- ci?c applications.




Introduction to GNU Octave


Book Description

A brief introduction to scientific computing with GNU Octave. Designed as a textbook supplement for freshman and sophomore level linear algebra and calculus students.




Linear Time Series with MATLAB and OCTAVE


Book Description

This book presents an introduction to linear univariate and multivariate time series analysis, providing brief theoretical insights into each topic, and from the beginning illustrating the theory with software examples. As such, it quickly introduces readers to the peculiarities of each subject from both theoretical and the practical points of view. It also includes numerous examples and real-world applications that demonstrate how to handle different types of time series data. The associated software package, SSMMATLAB, is written in MATLAB and also runs on the free OCTAVE platform. The book focuses on linear time series models using a state space approach, with the Kalman filter and smoother as the main tools for model estimation, prediction and signal extraction. A chapter on state space models describes these tools and provides examples of their use with general state space models. Other topics discussed in the book include ARIMA; and transfer function and structural models; as well as signal extraction using the canonical decomposition in the univariate case, and VAR, VARMA, cointegrated VARMA, VARX, VARMAX, and multivariate structural models in the multivariate case. It also addresses spectral analysis, the use of fixed filters in a model-based approach, and automatic model identification procedures for ARIMA and transfer function models in the presence of outliers, interventions, complex seasonal patterns and other effects like Easter, trading day, etc. This book is intended for both students and researchers in various fields dealing with time series. The software provides numerous automatic procedures to handle common practical situations, but at the same time, readers with programming skills can write their own programs to deal with specific problems. Although the theoretical introduction to each topic is kept to a minimum, readers can consult the companion book ‘Multivariate Time Series With Linear State Space Structure’, by the same author, if they require more details.




GNU Octave


Book Description

Today, scientific computing and data analysis play an integral part in most scientific disciplines ranging from mathematics and biology to imaging processing and finance. With GNU Octave you have a highly flexible tool that can solve a vast number of such different problems as complex statistical analysis and dynamical system studies. The GNU Octave Beginner's Guide gives you an introduction that enables you to solve and analyze complicated numerical problems. The book is based on numerous concrete examples and at the end of each chapter you will find exercises to test your knowledge. It's easy to learn GNU Octave, with the GNU Octave Beginner's Guide to hand. Using real-world examples the GNU Octave Beginner's Guide will take you through the most important aspects of GNU Octave. This practical guide takes you from the basics where you are introduced to the interpreter to a more advanced level where you will learn how to build your own specialized and highly optimized GNU Octave toolbox package. The book starts by introducing you to work variables like vectors and matrices, demonstrating how to perform simple arithmetic operations on these objects before explaining how to use some of the simple functionality that comes with GNU Octave, including plotting. It then goes on to show you how to write new functionality into GNU Octave and how to make a toolbox package to solve your specific problem. Finally, it demonstrates how to optimize your code and link GNU Octave with C and C++ code enabling you to solve even the most computationally demanding tasks. After reading GNU Octave Beginner's Guide you will be able to use and tailor GNU Octave to solve most numerical problems and perform complicated data analysis with ease.




Simulation of ODE/PDE Models with MATLAB®, OCTAVE and SCILAB


Book Description

Simulation of ODE/PDE Models with MATLAB®, OCTAVE and SCILAB shows the reader how to exploit a fuller array of numerical methods for the analysis of complex scientific and engineering systems than is conventionally employed. The book is dedicated to numerical simulation of distributed parameter systems described by mixed systems of algebraic equations, ordinary differential equations (ODEs) and partial differential equations (PDEs). Special attention is paid to the numerical method of lines (MOL), a popular approach to the solution of time-dependent PDEs, which proceeds in two basic steps: spatial discretization and time integration. Besides conventional finite-difference and element techniques, more advanced spatial-approximation methods are examined in some detail, including nonoscillatory schemes and adaptive-grid approaches. A MOL toolbox has been developed within MATLAB®/OCTAVE/SCILAB. In addition to a set of spatial approximations and time integrators, this toolbox includes a collection of application examples, in specific areas, which can serve as templates for developing new programs. Simulation of ODE/PDE Models with MATLAB®, OCTAVE and SCILAB provides a practical introduction to some advanced computational techniques for dynamic system simulation, supported by many worked examples in the text, and a collection of codes available for download from the book’s page at www.springer.com. This text is suitable for self-study by practicing scientists and engineers and as a final-year undergraduate course or at the graduate level.