Skip to main content

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… Read more

World Book Day celebration

Where learning shapes lives

Up to 25% off trusted resources that support research, study, and discovery.

Description

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 visualizes biomedical data. Aimed at the biomedical engineer, biomedical scientist, and medical researcher with little or no computer programming experience, it is an excellent resource for learning the principles and practice of computer programming using MATLAB.

This book enables the reader to:

  • Analyze problems and apply structured design methods to produce elegant, efficient and well-structured program designs
  • Implement a structured program design in MATLAB, making good use of incremental development approaches
  • Write code that makes good use of MATLAB programming features, including control structures, functions and advanced data types
  • Write MATLAB code to read in medical data from files and write data to files
  • Write MATLAB code that is efficient and robust to errors in input data
  • Write MATLAB code to analyze and visualize medical data, including imaging data

Key features

  • Many real world biomedical problems and data show the practical application of programming concepts
  • Two whole chapters dedicated to the practicalities of designing and implementing more complex programs
  • An accompanying website containing freely available data and source code for the practical code examples, activities, and exercises in the book
  • For instructors, there are extra teaching materials including a complete set of slides, notes for a course based on the book, and course work suggestions

Readership

Biomedical engineers, biomedical scientists and medical researchers learning to program in MATLAB and using it to analyze and visualize biomedical data

Table of contents

1. Introduction to Computer Programming and MatLab

    1. Introduction
    2. The MatLab Environment
    3. Help
    4. Variables, Arrays and Simple Operations
    5. Data Types
    6. Loading and Saving Data
    7. Visualising Data
    8. Matrices
    9. MatLab Scripts
    10. Comments
    11. Debugging
    12. Summary
    13. Assessment Exercises

  1. Control Structures
    1. Introduction
    2. if Statements
    3. Comparison/Logical Operators
    4. switch Statements
    5. for Loops
    6. while Loops
    7. break and continue
    8. Nesting Control Structures
    9. Summary
    10. Assessment Exercises

  2. Functions
    1. Introduction
    2. Functions
    3. Checking for Errors
    4. Function m-files and script m-files
    5. M-files and the MatLab Search Path
    6. Naming Rules
    7. Scope of Variables
    8. Recursion: A function calling itself
    9. Summary
    10. Assessment Exercises

  3. Program Development and Testing
    1. Introduction
    2. Incremental Development
    3. Are we Finished? Validating User Input
    4. Debugging a Function
    5. Common Reasons for Errors when Running a Script or a Function
    6. Error Handling
    7. Summary
    8. Assessment Exercises

  4. Data Types
    1. Introduction
    2. Numeric Types
    3. Characters and Strings
    4. Identifying the Type of a Variable
    5. The Boolean Data Type
    6. Matrices
    7. Cell Arrays
    8. Converting Between Types
    9. Advanced Data Types
    10. Summary
    11. Assessment Exercises

  5. File Input/Output
    1. Introduction
    2. Recap on Basic Input/Output Functions
    3. Simple Functions for Dealing with Text Files
    4. Reading from Files
    5. Writing to Files
    6. Summary
    7. Assessment Exercises

  6. Program Design
    1. Introduction
    2. Top-Down Design
    3. Incremental Development and Test Stubs
    4. Bottom-Up Design
    5. A Combined Approach
    6. Summary
    7. Assessment Exercises

  7. Visualisation
    1. Introduction
    2. Visualisation
    3. Visualising Multiple Datasets
    4. 3-D Plotting
    5. The meshgrid Command
    6. Imaging Data
    7. Summary
    8. Assessment Exercises

  8. Code Efficiency
    1. Introduction
    2. Time and Memory Efficiency
    3. Tips for Improving Time Efficiency
    4. Recursive and Dynamic Programming
    5. Dynamic Programming to Improve Performance
    6. Summary
    7. Assessment Exercises

  9. Images and Image Processing
    1. Introduction
    2. Images on a Computer
    3. Accessing Images in MatLab
    4. Image Processing
    5. Summary
    6. Assessment Exercises

  10. Developing Graphical User Interfaces
    1. Building a GUI with the Guide Tool
    2. Controlling Components: Callback Functions and Events
    3. Maintaining State
    4. Summary
    5. Assessment Exercises

Product details

About the authors

AK

Andrew P. King

Dr King has over 20 years of experience of teaching computing courses at university level. He is currently a Reader in the Biomedical Engineering department at King's College London. With Paul Aljabar, he designed and developed the Computer Programming module for Biomedical Engineering students upon which this book was based. The module has been running since 2014 and Andrew still co-organises and teaches on it. Between 2001-2005, Andrew worked as an Assistant Professor in the Computer Science department at Mekelle University in Ethiopia, and was responsible for curriculum development, and design and delivery of a number of computing modules. Andrew's research interests focus mainly on the use of machine learning and artificial intelligence techniques to tackle problems in medical imaging, with a special focus on dynamic imaging data, i.e. moving organs (Google Scholar: https://goo.gl/ZZGrGr, group web site: http://kclmmag.org).
Affiliations and expertise
Reader in Medical Image Analysis, School of Biomedical Engineering and Imaging Science, King's College London.

PA

Paul Aljabar

Paul Aljabar is a mathematician who enjoys using computer programming to address health and biomedical problems. He taught high school mathematics in London for twelve years before taking up a research career. Since then, his work has focused on the analysis of large collections of medical images for a range of applications, for example in order to build anatomical atlases or distinguish normal from pathological physiology. As described above, Paul and Andrew developed this book and learning materials together while teaching Biomedical Engineering undergraduates. Paul has taught on a range of undergraduate and graduate programmes focusing on the analysis and interpretation of medical and biomedical data, carried out through modelling, programming, and the application of methods that are also used in his research (Google Scholar: https://goo.gl/jAgPru).
Affiliations and expertise
Head of Imaging Science, Perspectum Ltd.

View book on ScienceDirect

Read MATLAB Programming for Biomedical Engineers and Scientists on ScienceDirect