APMonitor
Matlab 👩💻 File and User Input
Input requests information from the person using the computer and pauses the program until a value is entered. Input can also be data from a file. This module shows how to access input data from either a user or a file. For the final...
APMonitor
Debugging Python with ipdb and Sypder
A powerful debugging tool for Python is the pdb (or ipdb) tool that is part of the Integrate Development Environment of Spyder (available from the Anaconda download). This exercise shows how to debug code to fix syntax and logical...
APMonitor
Generate high quality plots with MATLAB
Plots in presentations and technical documents can either detract or enhance the delivery. This tutorial demonstrates how to make high quality plots in MATLAB and how to export the figures in PNG (for MS PowerPoint) or EPS format (for...
Curated Video
Julia for Data Science (Video 18)
Julia is an easy, fast, open source language that if written well performs nearly as well as low-level languages such as C and FORTRAN. Its design is a dance between specialization and abstraction, providing high machine performance...
APMonitor
Mathematical Optimization with MATLAB
This tutorial demonstrates how to solve a simple mathematical optimization problem with four variables, one objective function, one equality constraint, and an inequality constraint. The problem is solved with the APMonitor toolbox in...
APMonitor
Change File Extension (.txt .csv .xlsx .zip) in Windows
Microsoft Windows hides files extensions for known file types by default. Select "Folder Options"..."View"...unselect "Hide extensions for known file types". As an example, you can change the extension on a Microsoft Office document to a...
APMonitor
Import Data and Analyze with MATLAB
Data are frequently available in text file format. This tutorial reviews how to import data, create trends and custom calculations, and then export the data in text file format from MATLAB. Source code is available from...
APMonitor
Install Python 3.7 on Windows or Linux
Follow these steps to install Python 3.7 on Windows: 1. Remove old Python distributions 2. Browse to python.org and download installer 3. Install to C:\Python37 4. Add to PATH Environment Variable a. C:\Python37 b. C:\Python37\Scripts 5....
APMonitor
Install Julia on Windows and Linux with Jupyter Notebook
Julia is a language that combines the ease of programming of MATLAB or Python with the speed of C or Java. This tutorial shows how to install Julia 0.5.0 on Windows or Linux (Ubuntu) and manage add-on packages.
APMonitor
Record and Plot Real time Data in Python
This sample exercise records, analyzes, and plots real-time data in Python. It is an introductory exercise for the project listed at http://apmonitor.com/che263/index.php/Main/CourseProjects
APMonitor
Interactive Python with Widgets
An IPython widget allows a user to input a value or perform a function. Widgets enhance user interaction with the IPython notebook. See http://apmonitor.com/che263/index.php/Main/PythonWidgets to download the example IPython notebook and...
APMonitor
Install Python Modules
Python packages such as numpy, scipy, matplotlib, xlwings, pygame, openCV, and others extend the capabilities of this capable programming language. Installing packages is accomplished with downloadable installer packages or through the...
APMonitor
Matlab 👩💻 Debugging
One of the biggest time consuming parts of programming is debugging, or resolving mistakes in the program. This is true for every language because the computer needs exact commands, which is very important for precise measurements and...
APMonitor
Matlab 👩💻 Course Overview
Imagine that you work for an organization that rescues orphaned birds. Often you have to hatch eggs left without a nest. Egg incubation is tricky business. To incubate a chicken egg you have to keep it at just the right temperature. One...
APMonitor
Install MATLAB 2017b with Add-ons (Arduino)
The MATLAB internet installer is downloaded from MathWorks.com. It requires an account associated with a valid MathWorks license. This video walks through the setup and installation of MATLAB as well as adding packages such as the one...
APMonitor
Linear and Polynomial Regression in Microsoft Excel
Linear and polynomial regression is demonstrated in Excel. The data is show on a plot with trend lines added as linear, quadratic, and cubic correlations.
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...