APMonitor
Matlab 👩💻 Variables
Variables store information such as a number or a string. For example, if you wanted to keep a set temperature for an egg, you would type egg = 37.5 for °C or egg = 99.5 for °F. The first part tells what the variable will be called, and...
APMonitor
Install Python Packages with pip and conda
The package managers "pip" and "conda" allow users to install, update, or uninstall Python modules from a command line or directly from a Python script.
APMonitor
Matlab 👩💻 Course Final Project
The final project is to put together all of the basic parts of the course to help you complete a project to design the temperature control for an egg incubator. This is an opportunity for you to review the course material as you use many...
APMonitor
Plots in Python with Numpy and Matplotlib
Graphs or plots are effective at showing data. This introductory video demonstrates how to create a plot and adjust some of the basic characteristics of those plots such as the size of the trend, style (dashed, dotted, solid), add a...
APMonitor
Arduino Setup in GNU Octave
The Arduino forge package facilitates the interface to an Arduino. This tutorial demonstrates: 1. Install Octave 2. Install the Arduino package: pkg install -forge arduino 3. Write the Arduino firmware: arduinosetup 4. Load Arduino...
APMonitor
Subplots with Matplotlib in Python
Subplots combine multiple plots into a single frame. The key to using subplots is to decide the layout of the subplots and to then configure each subplot individually.
APMonitor
Matlab 👩💻 If Else Statements
If and else statements tell the computer what to do based on a true or false condition. Condition operators can combine multiple conditions to correctly direct the program to different sections of code.
APMonitor
Matlab in Jupyter Lab Notebook
Project Jupyter is a web-browser Integrated Development Environment that started with Python but now supports many languages. This tutorial shows how to set up Matlab and Octave to run in a Jupyter Notebook or in Jupyter Lab...
APMonitor
Install Python 🐍 on Chromebook
Install Debian Linux on a Google Chromebook with a virtual machine (does not require developer mode). Once Linux is installed, a command terminal is available. A first step is to update Debian Linux with: sudo apt-get update The Debian...
APMonitor
Load Arduino Leonardo Firmware for TCLab
Firmware is compiled code that runs a microcontroller such as an Arduino Leonardo. The Temperature Control Lab (TCLab) has an Arduino base and the program is modified for serial connection for Python, MATLAB, Java, or other programming...
APMonitor
Matlab 👩💻 Arduino Leonardo
There are many built-in functions in Matlab to facilitate complex programming steps with few lines of code. Using built-in functions can save many hours of programming but also increases the amount that you must learn to master the...
APMonitor
Matlab 👩💻 Printing disp and fprintf
Printing is displaying values to the terminal. You use the built in Matlab function disp() to display values. Here are some examples: disp(round(pi)) fprintf('%.2f',pi) fprintf('The value of pi is %.20f',pi)
APMonitor
Solve and Optimize ODEs in MATLAB
This tutorial covers MATLAB programming to simulate a differential equation model and optimize parameters to match measurements. In this exercise, the model is simulated with an ODE integrator (ode15s) and optimized with fmincon or...
APMonitor
Solve Nonlinear Equations with MATLAB
MATLAB solves nonlinear equations either symbolically or numerically with solvers such as "fsolve". This example demonstrates how to obtain a solution to sets of nonlinear equations.
Curated Video
Data Science and Machine Learning (Theory and Projects) A to Z - Matplotlib, Seaborn, and Bokeh for Data Visualization: Seaborn Versus Matplotlib Style
In this video, we will cover Seaborn versus Matplotlib Style. This clip is from the chapter "Basics for Data Science: Python for Data Science and Data Analysis" of the series "Data Science and Machine Learning (Theory and Projects) A to...
Curated Video
Data Science and Machine Learning (Theory and Projects) A to Z - Why Python and Jupyter Notebook: Why Jupyter Notebooks
In this video, we will understand the need of Jupyter Notebooks. This clip is from the chapter "Basics for Data Science: Python for Data Science and Data Analysis" of the series "Data Science and Machine Learning (Theory and Projects) A...
APMonitor
Solve Linear Equations with Excel
Excel MMULT and MINVERSE functions are used to solve systems of linear equations such as A * x = b by inverting A and multiplying by the right hand side (x = A^-1 * b).
APMonitor
Solve Linear Equations with MATLAB
MATLAB is used to solve a set of linear equations (Ax=b) by inverting the matrix A and multiplying by the b vector. Three ways to solve A*x=b are: x = inv(A)*b % good x = A\b % better x = linsolve(A,b) % best See...
APMonitor
Python Basic Statistical Analysis
Python statistical functions such as average, maximum, minimum, standard deviation, and custom counting are demonstrated in an iPython notebook.
APMonitor
Data Analysis with Python for Excel Users
A common task for scientists and engineers is to analyze data from an external source. By importing the data into Python, data analysis such as statistics, trending, or calculations can be made to synthesize the information into relevant...
APMonitor
Raoult's Law Vapor Liquid Equilibrium Solved with Excel
Microsoft Excel is used to calculate the liquid mole fraction and temperature of a mixture, using Raoult's law for vapor-liquid equilibrium. Excel solver is used to solve for 2 equations and 2 unknowns.
APMonitor
Matlab 👩💻 For and While Loops
There are two basic types of loops including for and while. An example of a loop is to check the temperature of the egg every second and adjust the heater. The loop may continue for a determine amount of time or until a certain condition...
APMonitor
Generate Poisson Distribution and Histogram in Excel
Powerful statistical analysis tools are available in the Excel is add-in data analysis package. This is an example of generating a randomly sampled Poisson distribution (1000 values) and plotting the frequency of the result.
APMonitor
Euler's Method for ODEs in Excel
Euler's method can be used to simulate and optimize differential equations in Excel. This tutorial demonstrates the steps to set up the simulation and then match the response to data.