This practical function provides a tool for quickly including a random process within a Monte Carlo Simulation framework.
The main input argument, is a string containing commands in Matlab syntax. Each execution of such string is an instance of a random process. The function expressionMCS samples an opened number of user-specified variables and expressions, by running the input string for N iterations.
The function...
This directory contains a suite of files for performing the standard two phase simplex method on linear programming problems. The three files LINPROG.DOC, PHASEI.DOC and PHASEII.DOC are fully documented versions of the m-files LINPROG.M, PHASEI.M...
For a given function as a string, lower and upper bounds, number of iterations and tolerance Bisection Method is computed.
Clusters data using the Mean Shift Algorithm. testMeanShift shows an example in 2-D. Set plotFlag to true to visualize iterations.
>> Y = cummean(X,DIM); if X is MxN, Y is also MxN. To illustrate the functionality, lets assume X is a 1xN vector. Then, Y is a 1xN vector where the n-th entry in Y is given by mean(X(1:n)). So, Y(end) = mean(X), and Y(1) = X(1). cumvar...
An essential step in embedded software development, floating- to fixed-point conversion can be tedious, labor-intensive, and error-prone. System engineers frequently design algorithms in floating-point math, usually double-precision. This format...
Usage: Newton(@funfcn,X0[,Options[,Params]); funfcn is a function script with the following interface: function F = function(X) % ... or a string containing the code as shown below, were F is the vector of the...
em_uvp : Expectation-Maximization algorithm for a Univariate Poisson Mixture
[logl , R , P] = em_upm(Z , R0 , P0 , [nbite]);
Inputs -------
Z Discrete measurements (1 x K x [n1] x ... x [nl]) R0...
Power System Load Flow Analysis using Gauss Siedel for infinite number of iterations
If you are downloading this file to submit an assignment or doing your homework than "Best of Worst Luck".
Displays a string inline in the command window, overwriting any output the method previously displayed.
Useful to update any displayed string in-place, for example to indicate the the state of a simulation in progress.
It finds the minimum of a n variables function with the Particle Swarm Optimization Algorithm.
% The input parameters are: % -func: it's the objective function's handle to minimize % -numInd: it's the number of the swarm's...
You can solve non-linear systems of 3 variables. Only write "newtonv1" on the command window. Then write the 3 equations, the number of iterations y the precision tolerance. The partial derivatives for the gradients are calculated by the...
In this there are three files.In fun.m file input the function. In dfun.m file input the derivative of the function and then just run the Newton.m file. It will input the Tolerence, No of Iterations and the Initial Value. Finally it will display...
This is still a work in progress, having trouble setting tolerances but setting the number of iterations seems to work fine.
[This project is no longer under active development.] An XP project planning tool written in Ruby on Rails, designed for distributed teams, with support for stories, iterations, and roadmap tracking.
This function provides a new progress-bar (waitbar in MATLAB-speak) with the following features: * Multiple bars in one window * Robust to the window being closed * Time-estimates for long-running tasks * Completion...
The Dragon Curve is a fractal that was made famous in Jurassic Park, a novel by Michael Crichton.
This file calculates and plots the Dragon Curve. The user is encouraged to make their own variations of the fractal by experimenting with...
In the attached .zip folder you will find two primary functions titled 'GDSP' and 'ConditionMesh' as well as a number of other auxiliary routines. To compute conformal (i.e. angle preserving), as well as barycentric spherical parametrizations use...
This script provides the final interval of uncertainty in which the minima of single variable non linear/linear function. The function should be unimodal in the interval. The script checks the unimodality of the function.User inputs the initial...
Newton's method for solving a system of nonlinear equations, see http://en.wikipedia.org/wiki/Newton's_method
Newton(X,F,X0) solves nonlinear system F(x)=0 by Newton's method, using the given initial approximation X0. The derivative... |