A simple decorator that helps define abstract methods: when such a method is called, an appropriate exception is raised.
Golden section method - searching for minimum of the function on given interval <a,b> files:
golden.m - main algorithm, computing minimum on interval
f.m - given function - file to modify by the user!
This is the fastest (though not most accurate) method of fitting a circlle to data points on a plane (given by their xy-coordinates). It returns the circle center (a,b) and radius R. It was proposed by I. Kasa in article "A curve fitting...
Numerical integration with Monte Carlo method (on FPGA chip).
- Diamond IDE (3L)
- FPGA Xilinx VIrtex II (SMT8036E)...
This script is capable of solving a convex quadratic programming problem by Wolf's method. For the convergence of the algorithm it is necessary that either Hessian of the objective function be positive definite or positive semidefinite Hessian...
This set of simulations make use of the Alternating Direction Implicit method for solving the parabolic wave equation that arises in FD BPM.
The zip file includes the following programs:
FDBPM3D_free_space.m - Animation and video...
Mackey-Glass Time Series Forecasting using Wang-Mendel Method
This programs gives solution of 2nd order differential equation with variable coefficients by Rayleigh Ritz method using linear interpolation
Designing a Controller and obtaining the Controller Function by rootlocuse method
This programs explains the formulation of Ybus by singular transformation method of an IEEE 14 bus system
IMPLEMENTATION OF GAUSS SEIDEL METHOD IN MATLAB used in the load flow problem
Implementation based on:
"Finite-Element Discretization Of Static Hamilton-Jacobi Equations Based On A Local Variational Principle"
by F. Bornemann and C. Rasch
1. There is no restriction...
One of several approaches to outlier rejection, Peirce's method is more general than Chauvenet's method.
As constructed this works on univariate data only.
The code implements the shooting method by means of the Runge-Kutta method of 4th order and the interval bisection method. There is the graphical interface too. When the differential equation is inserted in terms of the standard mathematical...
This Matlab program Solve N-equation with Gauss elimination method and check results with Matlab Function.
[Th, H] = JACOBITHETAETA(U,M) returns the values of the Jacobi's theta and eta elliptic functions TH and H evaluated for corresponding elements of argument U and parameter M.
1. Speed up the convergence of correcting for each points (By newton method).
2. To find the first few points by this method instead of R.K. method.
3. To apply for higher order polynomial fitting.
This is a very simple method to find prime numbers. I use a mathematical function to find non prime numbers. Thus I have compared its efficiency with a code found on Matlab Central, Written by John D'Errico.
Its based on the traditional box-counting method for finding the fractal dimension of an image. The code is just for beginners for getting an idea of how the box-counting is done.
Implementation of Defect Correction Method for iteratively solving a linear equation system. A Preconditioning strategy can be used to accelerate convergence.