millerind() is a graphical user interface that gives a simple method to view and understand the underlying princples behind the Miller indices of a cubic crystal.
By entering a desired plane and pressing "Plot", the desired plane along with its orthogonal vector are displayed on the crystal cube, and all possible plane equivalents are shown. You can choose any of these planes to have them being shown on the axes, or you...
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).
Requirements:
- Matlab/Simulink - 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
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.
Thee purpose, 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.
The Fixed Point Method is applied to a given function.
Convergence conditions are as followed: f(xa)=0 (=) xa=g(xa) => xa[n+1]=g(xn), n=0,1,.. Error majoration: |e(xk)| <= L^k/(1-L)*|x1-xo| Choice for inicial... |