Cargando…

MATLAB programming for biomedical engineers and scientists /

MATLAB Programming for Biomedical Engineers and Scientists provides an easy-to-learn introduction to the fundamentals of computer programming in MATLAB. This book explains the principles of good programming practice, while demonstrating how to write efficient and robust code that analyzes and visual...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: King, Andrew P. (Andrew Peter)
Otros Autores: Aljabar, Paul
Formato: Electrónico eBook
Idioma:Inglés
Publicado: London, United Kingdom : Academic Press is an imprint of Elsevier, [2017]
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Front Cover; MATLAB Programming for Biomedical Engineers and Scientists; Copyright; Dedication; Contents; About the Authors; Preface; Aims and Motivation; Learning Objectives; How to Use This Book; Acknowledgments; 1 Introduction to Computer Programming and MATLAB; 1.1 Introduction; 1.1.1 Computer Programming; 1.1.2 MATLAB; 1.2 The MATLAB Environment; 1.3 Help; 1.4 Variables, Arrays and Simple Operations; 1.5 Data Types; 1.6 Loading and Saving Data; 1.7 Visualizing Data; 1.8 Curve Fitting; 1.9 Matrices; 1.10 MATLAB Scripts; 1.11 Comments; 1.12 Debugging; 1.12.1 MATLAB Debugger.
  • 1.12.2 MATLAB Code Analyzer1.13 Summary; 1.14 Further Resources; Exercises; 2 Control Structures; 2.1 Introduction; 2.2 Conditional if Statements; 2.3 Comparison/Logical Operators; 2.4 Conditional switch Statements; 2.5 Iteration: for Loops; 2.6 Iteration: while Loops; 2.7 A Note about Ef ciency; 2.8 break and continue; 2.9 Nesting Control Structures; 2.10 Summary; 2.11 Further Resources; Exercises; 3 Functions; 3.1 Introduction; 3.2 Functions; 3.3 Checking for Errors; 3.4 Function m-Files and Script m-Files; 3.5 A Function m-File Can Contain More than One Function.
  • 3.6 A Script m-File Cannot Also Include Functions3.7 m-Files and the MATLAB Search Path; 3.8 Naming Rules; 3.9 Scope of Variables; Be Careful About Script m-Files and Scope; 3.10 Recursion: A Function Calling Itself; 3.11 Summary; 3.12 Further Resources; Exercises; 4 Program Development and Testing; 4.1 Introduction; 4.2 Incremental Development; 4.3 Are We Finished? Validating User Input; 4.4 Debugging a Function; 4.5 Common Reasons for Errors when Running a Script or a Function; 4.6 Error Handling; 4.6.1 The error and warning Functions; 4.6.2 The try and catch Method; 4.7 Summary.
  • 4.8 Further Resources Exercises; 5 Data Types; 5.1 Introduction; 5.2 Numeric Types; 5.2.1 Precision for Non-Integer (Floating Point) Numeric Types; 5.2.2 MATLAB Defaults to Double Precision for Numbers; 5.2.3 How Does MATLAB Display Numeric Values by Default?; 5.2.4 Take Care when Working with Numeric Types Other than Doubles; 5.2.5 Ranges of Numeric Types; 5.3 In nity and NaN (Not a Number); 5.4 Characters and Strings; 5.5 Identifying the Type of a Variable; 5.6 The Boolean Data Type; 5.7 Cells and Cell Arrays; 5.7.1 Cell Arrays Can Contain Mixed Data Types.
  • 5.7.2 The Different Kinds of Bracket: Recap5.8 Converting Between Types; 5.8.1 Converting Between a Number and a Character; 5.8.2 Converting Between a Number and a Logical Type; 5.8.3 Converting Arrays; 5.9 The Structure Data Type; 5.10 Summary; 5.11 Further Resources; Exercises; 6 File Input/Output; 6.1 Introduction; 6.2 Recap on Basic Input/Output Functions; 6.3 Simple Functions for Dealing with Text Files; 6.4 Reading from Files; 6.5 Writing to Files; 6.6 Summary; 6.7 Further Resources; Exercises; 7 Program Design; 7.1 Introduction; 7.2 Top-Down Design; Step 1
  • First Level Factoring.
  • Step 2
  • Further Factoring.