The struct has two levels. The first level is the name of the constant. The second level has fields: "value", "uncert" and "unit". Example: phc = fundamentalPhysicalConstantsFromNIST(); phc.speed_of_light_in_vacuum.value returns 299792458 and phc.speed_of_light_in_vacuum.unit returns ms^-1 Data was obtained from http://physics.nist.gov./cuu/index.html and...
This program is a GUI that takes as input a transfer function. It decomposes the function into poles, zeros, constants,... and plots the asymptotic approximation of each. Individual terms can be added or deleted from the plot.
Full...
The user has to provide the program the constants and parameters of the models using a dialog box. A pop-up menu and an update button allow the user to select the plot (Txy, activity coefficients and relative volatility). A similar program...
It is a new block simulink signal library called the Phase Filter.The transfert function is F(p)=(1+T1p)/(1+T2p).Students can change parameters T1 and T2 time constants of filter.The phase filter in automatic control is for Corrector block and...
For those of us who like to provide our own partial derivative sensitivity matrix. Can be used for both linear and non-linear systems.
x = nrsolve( F, dFdx, xi, tol, max_iter, c1, c2.... )
Given a system of equations F =...
CSS Server-Side Constants (CSS-SSC) for Ruby/Rails
Hidden Markov models are used to describe the "stepping" behavior of molecular motors, as measured by single-molecule fluorescence techniques. Our HMM implementation is more versatile than the one described by Milescu, et al. Biophys. J....
The programs compute the vapor-liquid diagram of an ethane-benzene mixture at 25dlT-C and 175dlT-C. This binary mixture exhibits a peculiar behavior because the volatilities of ethane and benzene are very different. We use the SRK equation of...
This m-file plots a NMR coupling diagram from coupling constants and number of splits (only 1/2-spin nuclei). Useful for educational purposes.
Example: plotcoupling([8,2],[3,1])
Produces a plot with the coupling constants 8...
solvesimul.m can be easily adapted to solve more equations but as it stands it will solve 2 unknowns in 2 equations (1 non-linear and one linear).
To solve equations of this form...
a*x + b*y = A (1) a1*x^2 + b1*y^2 =...
In the program, we obtain equilibrium constants, compressibility factors, molar volumes and densities using the Soave-Redlich-Kwong equation of state. We find the same results as those given by Henley and Seader in Equilibrium-Stage Separation...
PHP_SMB is an extension for PHP written in C built on smbval (SMB validating library) to authenticate users against SMB servers.
The server and backup parameters specify the primary and backup domain controller; but in fact, this can be...
DC motor Control using lag compensation and PID To customize this code you just need to: 1- Change the values of DC motor constants 2- Determine settling time, PO% and SSE and Change the zeros of lag compensation 3- Tune the...
This GUI accepts the various constants needed to run a Black-Scholes calculation for pricing several European options:
Put, Call, Straddle, Strangle, Bull Spread, Bear Spread, Butterfly
It plots the pricing surface for the...
Mailr is a webmail application written in Ruby which uses Ruby On Rails web application framework.
How to install it: - 1. Checkout the source code - 2. Create database called mailr. Create the database schema using...
these two functions define and undefine variable constants like the #define preprocessor command in C. No global variables are used. Tested on R2006b See help for each file
Kernel Regression Toolbox Version 1.0 (R14) 01-Aug-2004
General information. Comprises functions to carry out kernel regressions.
General Functions: ykr - Higher order olynomial kernel regression ykr0 - 0-th...
***Note*** This method of using units is quick and clean. For a more complete version that automatically does dimensional analysis, see the file entitled "Units and Dimensions Suite for Matlab" (See the Acknowledgements section...
One must input to a dialog box Antoine's constants, Wilson binary interaction parameters and liquid molar volume of any binary mixture of his choice. The program computes and plots activity coefficients, relative volatility and VLE diagram.
Using an engine throttle valve modeling example, this demo shares some perspectives on creation of nonlinear models of dynamic systems from the measurements of its input and outputs. It describes useful workflows for approaching the task of... |