BIOE 205

Code examples

The website for our required textbook provides links to freely download MATLAB code for examples presented in the textbook. This page links to Google Colaboratory notebooks that recreate the same freely available examples in Python.

NOTE: You are free to use MATLAB or Python for this course.

  1. Rationale
  2. How to Colab?
  3. Links to Colab notebooks

Rationale

While our required textbook (and to a large extent this course) primarily uses MATLAB & Simulink, it is no secret that the necessary software licenses can be expensive to obtain. Furthermore, using MATLAB remotely via Citrix can be a finicky affair on a less than stellar internet connection.

On the other hand, Python is free, open source and lingua franca for all sorts of machine learning (ML) and artificial (AI) applications currently. Knowing some Python will always be a plus and thus … this page[1].

How to Colab?

To get started with Python notebooks in the cloud, visit this link and click "Copy to Drive" after signing in with Google Apps @ Illinois account.

If the link reports that you need to request access, make sure you are signed in with your Google Apps @ Illinois account. Clicking "Request Access" will NOT give you access. See here.

If you are already signed in, but the link reports that file cannot be previewed then click "Open with Colaboratory".

Note that in many of these notebooks the necessary .mat files must be uploaded to the Colab runtime for the notebook to run. These files can be found at the companion website for the textbook.

  1. Introduction - Introduction to Python

  2. Chapter 1 - The Big Picture: Bioengineering Signals and Systems

  3. Chapter 2 - Signal Analysis in the Time Domain

  4. Chapter 3 - The Fourier Series and the Fourier Transformation

  5. Chapter 4 - Fourier Series, Sampling, Spectrograms etc.

  6. Chapter 5 - Linear Systems Analysis - Convolution

  7. Chapter 6 - Linear Systems Analysis - Transfer Function

  8. Chapter 7 - Linear Systems in Complex Frequency Domain

  9. Chapter 8 - Linear filter design & discrete domain

[1] Admittedly, there are no comparable open-source pain-free alternatives to Simulink and therefore for material relying on Simulink, we will wholly use Simulink.
CC BY-SA 4.0 Ivan Abraham. Last modified: March 27, 2023. Website built with Franklin.jl and the Julia programming language. Curious? See familiar examples.