Expected
We use the SRK equation of state to compute the correction factor due to gas-phase nonideality as a result of the high pressure applied in the ammonia synthesis. We also compute the extent of reaction. Plots of these two quantities versus pressure for temperature equal to 800K are presented. The...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): Calculation of High-Pressure Chemical Equilibrium: Case of ammonia synthesis Download |
The self-contained script demonstrates excess, volatility driven growth, in a rebalanced portfolio.Based on the paper "Benchmarking and Rebalancing" by Gabay and Herlemont, yats.com, 19 Septembre 2007, this script reproduces example 1, showing the long-term rebalancing excess growth rate g*.There...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Example of Volatility Pumping Download |
The code implements the algorithm as given in Chen et. al 1991.It takes max tolerance from the user.It selects Ms significant regressors from the total M regressors.Unfortunately, the error obtained after training the RBF network isn't as expected. Is there a mistake in my code???Please feel free...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Orthogonal Least Squares Algorithm for RBF Networks Download |
The @activexsubsref.m and @activexsubsasgn.m functions were modified so that methods could be invoked with '.' field subsripting and '()' subscripting was enabled. Unfortunately a try...catch statement had to be used, minus ten points for bad style. In revising subsref only cell array '{}'...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): @activexsubsref.m & @activexsubsasgn.m Download |
Ok, yes, my expectation was that when I saw this, before I downloaded it I expected it to be a student's homework assigment. In fact, this is a reasonably carefully crafted tool.One serious issue is that this code requires you to provide explicit functional forms for the gradient and Hessian....
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): Unconstrained optimization using Newton Download |
This function returns the coordinates for a 2-D spring, with the possibility of adding offsets at the two ends.The spring is automatically sized using the maximum expected length and the number of coils.Use >> help springcoordFor more information on usage.Please let me know if you have any...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): 2D Spring Coordinates for Plotting Download |
Fleiss'es kappa is a generalization of Scott's pi statistic, a statistical measure of inter-rater reliability. It is also related to Cohen's kappa statistic. Whereas Scott's pi and Cohen's kappa work for only two raters, Fleiss'es kappa works for any number of raters giving categorical ratings...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Fleiss'es kappa Download |
TypeSafeStruct provides base classes that can check whether the types of the values to assign variables of implementation subclasses are of the expected types.The expected types are determined by the prefixes of private variables, so it works well even when using PHP compiled code cached...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): TypeSafeStruct Download |
In large scale mapping projects with numerous satellite images, it is useful to have a vector file depicting the boundary of the images. This script when run from the folder containing the images, it automatically detects the geotiffs and extracts their image area boundary and constructs a...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): GeoTiff PathRow Download |
This above Fractal code generates a small fractal mound in using the basic trigonometric operations. This involves a basic logic of an exponential surface that modifies the vector along the XY plane while the modifying function modifies the surface to yield a 3D likesurface as can be expected...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Fractal Mound Download |
An accurate system model is one that performs as expected and produces the desired results. To achieve this level of accuracy you must have a clear modeling goal. For example, will the model be used strictly for simulation, or for generating embedded C code?This article describes five modeling...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 245.76 KB | Download (43): Accurate Modeling in Simulink Download |
accumSeasonTS- aggregate timeseries to solstices and equinoxesUsing G. Cardillo function to compute solstices and equinoxes, this function will aggregate time series data (e.g. Precipitation) to seasonally summarized results. To accomplish this three core functions are used: eqnsol, unique, and...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Aggregate timeseries data to solstices and equinoxes Download |
Lawley has developed a procedure for testing the equal correlation structure from the off-diagonal elements of the correlation matrix. It is equivalent to test the hypothesis that correlations are equal.File needs to input the multivariate matrix, matrix type [d=1,for a n-p data matrix; d=2, for...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Lawley Download |
Basically, here we are testing if all the p-axis have the same variability or eigenvalues. There are two tests to choose in a menu form such as the Bartlett and Mauchly's sphericity tests.Only needs to input the multivariate data matrix and the significance level (default = 0.05). It outputs the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): sphertest Download |
COMPOSITE trapezoid Method for numerical calculations & analysis exercises in Numeric Integration. f function is given in terms of a symbolic variable x and as an inline function. E.g., f=inline('x^2+2*x-2'). Also, if the function f is trigenometric function, the 4th argument can be entered as...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 1024 KB | Download (39): Composite Trapezoid method for numeric integration Download |
COMPOSITE SIMPSON's method for numerical calculations and analysis exercises of Numeric Integration. f function is given in terms of a symbolic variable x and as aninline function. E.g., inline('x^2+2*x-2'). Also, if the function f is trigonometric function, the 4th argument can be entered...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 1024 KB | Download (46): Composite Simpsons method for numeric integration Download |
COMPOSITE midpoint rule method. Some numerical calculations and analysis exercises of Numeric Integration for comparison analysis. f function is given in terms of a symbolic variable x and expressed as an inline function. E.g., f=inline('x^2+2*x-2'). Also, if the function f is trigonometric...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 1024 KB | Download (40): Composite Mid-point method for numeric integration Download |
HELP. MIDPOINT method. Some numerical calculations and analysis exercises of Numeric Integration for comparison analysis. f function is given in terms of a symbolic variable x and as an inline function. E.g., f=inline('x^2+2*x-2'). Also, if the function f is trigonometric function, the 4th...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 1024 KB | Download (43): Mid point method for numerical integration Download |
This is a simple m-file with just a couple of lines. * * * Please note that you need MATLAB 2008 or prior to use this script. * * *(This script is not yet tested with "Maple Toolbox for MATLAB")Provides a prompt (within MATLAB command prompt) for interacting with the internal Maple engine of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): maplePrompt Download |
Counts all cycles in input graph up to (optional) specified size limit, using a backtracking algorithm. Designed for undirected graphs with no self-loops or multiple edges. Returns count of each size cycle from 3 up to size limit, and elapsed time.Algorithm is guaranteed to find each cycle...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Count all cycles in simple undirected graph Download |