APMonitor
Nonlinear Regression in MATLAB
A three parameter (a,b,c) model y = a + b/x + c ln(x) is fit to a set of data with the MATLAB APMonitor toolbox. This tutorial walks through the process of installing the solver, setting up the objective (normalized sum of squared...
APMonitor
MATLAB Nonlinear Optimization with fmincon
This step-by-step tutorial demonstrates fmincon solver on a nonlinear optimization problem with one equality and one inequality constraint. Visit http://apmonitor.com/che263/index.php/Main/MatlabOptimization for source code.
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
Data Science 🐍 Features
Features are input values to regression or classification models. The features are inputs and labels are the measured outcomes. Classification predicts discrete labels (outcomes) such as yes/no, True/False, or any number of discrete...
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 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.
Curated Video
Describe an advanced data structure : Optimizing the Sieve of Eratosthenes
From the section: More Complex Algorithms on Arrays. In this section, we will deal with even more complex problems involving arrays. They will require more complex logic or data structures to solve, or a clever way of applying more than...
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.
Virtually Passed
Optimal Path Around Quicksand - Math Puzzle (HARD)
What is the optimal path to travel from start to finish in the least time? Your speed is = the distance you are from the pit. Here I show one optimal path! #SoME1 Timestamps: 0:00 - Introduction & Question 0:52 - Total Time: Cartesian...
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...
Virtually Passed
Optimal path to rescue friend - Math Puzzle
Your friend starts moving in a line with a speed u. You arrive T seconds later and can drive after him in whatever path you like with a speed v. What path guarantees you intersect his position? Timestamps: 0:00 - Introduction & Question...
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...
Science360
Medicine And Engineering Join Forces To Restore Disfigured Faces
Patients who have suffered devastating facial injuries sometimes go to great lengths to hide themselves from public view. ""I've had patients come to me wearing motorcycle helmets, with the visor pulled down,"" says Michael Miller, chair...
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
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...