APMonitor
Linear and Polynomial Regression in Python
This brief tutorial demonstrates how to use Numpy and SciPy functions in Python to regress linear or polynomial functions that minimize the least squares difference between measured and predicted values. Source Code:...
APMonitor
Linear and Nonlinear Regression in Python
Polynomial or general nonlinear functions are developed with Numpy and Scipy in Python. These exercises also cover methods to create linear or spline interpolations that interpolate between data points.
APMonitor
MathCAD Graphing and Calculus
Plotting expressions is important to visualize data, relationships between variables, and perform analysis. Mathcad plotting allows visualization of variable values, functions, and data points. Included in this demonstration is common...
APMonitor
Symbolic Manipulation in Python
The SymPy package computes symbolic solutions to simplify, expand, factor, differentiate, integrate, and solve equations. These problems cover a range of SymPy functions.
APMonitor
Regression with MATLAB fmincon
A frequent activity in data science and machine learning is to develop correlations from data. By importing the data into MATLAB, data analysis such as statistics, trending, or calculations can be made to synthesize the information into...
APMonitor
Matlab 👩💻 Cell Arrays
Cell arrays are like regular arrays but you can use them to store different data types in a sequence. The format for this method of storing values is curly brackets {}. After you assign the cell array a name, you can enter values and...
APMonitor
MATLAB User Defined Custom Functions
User-defined functions are routines in MATLAB that typically input data or arguments, perform custom calculations, and return one or multiple results. This introduction to functions is part of the programming course for engineers at...
APMonitor
Solve Nonlinear Equations with Python
This tutorial demonstrates how to set up and solve a set of nonlinear equations in Python using the SciPy Optimize package.
APMonitor
Nonlinear Regression in Microsoft Excel
A three parameter (a,b,c) model y = a + b/x + c ln(x) is fit to a set of data with the Excel solver add-in. This tutorial walks through the process of installing the solver, setting up the objective (normalized sum of squared errors),...
APMonitor
Set axis limits with Matplotlib in Python
Setting axis limits, adding a legend, configuring marker size, and other custom configurations are effective ways to improve the readability of a plot in Python.
APMonitor
Solve Differential Equations in MATLAB and Simulink
This introduction to MATLAB and Simulink ODE solvers demonstrates how to set up and solve either one or multiple differential equations. The equations can be linear or nonlinear.
APMonitor
Python 🐍 Curve Fit with Step Test Data
The Scipy curve_fit function determines two unknown coefficients (dead-time and time constant) to minimize the difference between predicted and measured response values. Pandas imports the data and the dataframe header is diplayed with...
APMonitor
Computational Tools for Engineers Course Overview
Welcome to ChE263 which teaches computer skills useful to engineers and scientists. It covers MATLAB, Python, Mathcad, computer programs for doing all types of math, both numerically and symbolically; Excel, a spreadsheet program; and...
APMonitor
Python 🐍 Solve Nonlinear Equations with fsolve
This tutorial is an introduction to solving nonlinear equations with Python. The solution to linear equations is through matrix operations while sets of nonlinear equations require a solver such as Scipy optimize fsolve to numerically...
APMonitor
SciPy Beginner's Guide for Optimization
Scipy.Optimize.Minimize is demonstrated for solving a nonlinear objective function subject to general inequality and equality constraints. Source code is available at http://apmonitor.com/che263/index.php/Main/PythonOptimization...
APMonitor
Matlab 👩💻 Plots
A plot is a visual representation of the data and is especially valuable to analyze data graphically. You can plot with the plot(x,y) function. In the incubator example, we may want to see how the temperature changes with time. The...
SWPictures
Doctor's Journey to Save Premature Babies in Rural Bangladesh
This video showcases the daily life of Doctor Rafia, a female physician working at the Matlab Hospital in Bangladesh. The video highlights the importance of Kangaroo mother care for premature babies and the dedication of healthcare...
APMonitor
Python Nonlinear Equations with Scipy fsolve
The Scipy optimization package FSOLVE is demonstrated on two introductory problems with 1 and 2 variables.
APMonitor
Python for Beginners with Spyder IDE
This introduction includes information about naming variables, built-in constants, reserved keywords, built-in functions, syntax highlighting, data types (integer, float, list, tuple, dictionary), and basic commands to built a first...
APMonitor
Matlab 👩💻 Course with Arduino TCLab
Welcome to this introductory course on MATLAB! This course is intended to help you start programming in MATLAB from little or no prior experience. There are video tutorials for each exercise if you have questions along the way. One of...
SWPictures
SURVIVAL: Fit for Life
Bangladesh has one of the highest child mortality figures in the world. Children are most likely to die in their first month of life. We follow two young women in Bangladesh who face very different experiences of pregnancy, childbirth...
APMonitor
Visual Basic for Applications (VBA) in Excel
VBA adds programming functionality to Microsoft Excel. A Macro is a VBA program that can be recorded to auto-generate code in VBA. VBA is a simplified form of Visual Basic and lacks full-featured programming support. VBA extends the...
APMonitor
Excel VBA Macro Tutorial for Engineers
This basic Excel Macro tutorial demonstrates how to import and export values from a VBA program, display a message box, and write an IF statement. This video is followed by examples on writing this same program in MATLAB and Python.
APMonitor
Chemical Reaction Differential Equations in Python
Concentrations on chemical species from mole balances are solved for 1, 2, and 4 species in Python with the Scipy.Integrate package ODEINT.