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 works in the same way, and this can be done on an arbitrary...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): Cumulative Mean and Variance Download |
This book provides a complete analysis of the conjugate gradient and generalized minimum residual iterations.For a full book description and ordering information, please refer to http://www.mathworks.com/support/books/book1344.jsp.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (42): Iterative Methods for Linear and Nonlinear Equations Download |
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 and PHASEII.DOC are fully documented versions of...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (52): linprog Download |
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 elements% -range: it's the range in which the elements must be created%...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Simple example of PSO algorithm Download |
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 interval and the number of iterations. depending...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Fibonacci Search metho Download |
It's a deterministic iterative zero order algorithm that can be used to solve unconstrained optimization problem. It finds the relative minimum of a two variables function with a deterministic iterative zero order algorithm. Pattern search method It finds the relative minimum of a two variables...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (50): Pattern search method: deterministic iterative zero order algorithm Download |
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 represents the ideal algorithm behavior but takes...
Platforms: Matlab
License: Freeware | Size: 491.52 KB | Download (48): Converting Models from Floating Point to Fixed Point for Production Code Generation Download |
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 program
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Newton-Raphson Method for Non-linear System of 3 variables Download |
Clusters data using the Mean Shift Algorithm. testMeanShift shows an example in 2-D. Set plotFlag to true to visualize iterations.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Mean Shift Clustering Download |
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 interval and the number of iterations. depending...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Fibonacci Search method Download |
Iris data set clustering using partitional algorithm. Concepts like loading text document and plotting of 4 Dimensional data with the fourth dimension as the intensity of colour of the plot. I used K means algorithm to update the centres from where we calculate the euclidean distance of the other...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 1.06 MB | Download (49): Iris data set clustering Download |
This is still a work in progress, having trouble setting tolerances but setting the number of iterations seems to work fine.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): Newton's Method Download |
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 Initial Poisson Rate. R0 can be (1 x 1 x d x [v1] x ... x [vr]) P0 Initial mixture probablities (1 x 1...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 174.08 KB | Download (39): EM_UPM Download |
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 the No of iterations and the root.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Newton Raphson's Methos Download |
Power System Load Flow Analysis using Gauss Siedel for infinite number of iterationsIf you are downloading this file to submit an assignment or doing your homework than "Best of Worst Luck".
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (59): Load Flow Gauss Siedel Download |
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 functions, and X the vector of the unknowns which must have the same length. A guess...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Newton with Numerical Jacobian Download |
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 expressionMCSsamples...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): Practical Monte Carlo Simulation Tool Download |
Using the Cholesky decomposition, it generates n iterations of multivariate Gaussian random variables for a given mean vector (mu) and variance-covariance matrix (sigma).mvgrnd(mu,sigma,n)
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): MVGRND Download |
Newton's method for solving a system of nonlinear equations, see http://en.wikipedia.org/wiki/Newton's_methodNewton(X,F,X0) solves nonlinear system F(x)=0 by Newton's method, using the given initial approximation X0. The derivative (Jacobian) is evaluated symbolically. The iterations are...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 1024 KB | Download (39): Newton's method done right Download |
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.-----------------------------------e.g.displayInline;tic;for k = 1:1e6 if...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): displayInline Download |