distributes points around a given point on a through a normal determined plane and gives their coordinates back
The code implemented a special case of the ellipsoid fitting technique proposed in the paper Least Squares Ellipsoid Specific Fitting, corresponding to case k= 4. Just put the two files in the same directory and run "testFit4". You can...
First keep in mind that this is not a MATLAB tutorial. This is just a list of tricks I have found useful while writing my toolboxes available on the MATLAB Central repository.
You can e-mail me if you have corrections about these pieces...
This function implements vectorized FFTs on a GPU. The answer is the same as the fft and ifft matlab functions.
You need to install the GPUFFTW2.0 library of Naga K. Govindaraju http://gamma.cs.unc.edu/GPUFFTW/ . On Naga's wed site, you...
Let d < N be a positive integer and define p = N/d. Let y_{1} be a point on the unit circle. Let R be clockwise rotation by the angle t = 2*pi/p. The generalized regular polygon {p} is given by the points y_{i+1} = R * y_{i}, and edges between...
Function uses algorithm from Dan Sunday internet site http://softsurfer.com/Archive/algorithm_01...ment_to_Segment L1, L2 includes two points in matrix of 2*n where n are dimensions (3 in 3D). d - shortest distance between two...
Program system for digitizing, consisting of the following functions:
fgeocode: Input figure (start of the programm system) lgeocode: Loading the data. (control points, control point names, JPEG image) igeocode: Digitizing the...
Objective: Shortest Distance Path between 2 Points.
Step: Select 2 Points to get Shortest Distance Path between them.
Intro: Background Image "Andhra Pradesh" is a state in India for which the major district...
This is the code for calculating solid angle C, surface pressure ps, and field pressure pf coming out from a pulsating cylinder with radius of r and normal velocity vn in an unbounded two dimensional acoustic domain using the solution of Helmholtz...
Some empirical data from a statistical process varies in its value over many decades. It is desirable to estimate the pdf of this data which requires the values to be equally divided on a log scale. It is simple and quick allowing millions of...
Model II regression should be used when the two variables in the regression equation are random and subject to error, i.e. not controlled by the researcher. Model I regression using ordinary least squares underestimates the slope of the linear...
Graphical user interface that allows easy manipulation of Bezier curves by interactively adding, editing the position as well as deleting points on the graph using mouse clicks.
select 2 seed points from mouse click. 1st one vl be mid point of the circle and 2nd vl be radius of the same.
it vl crop the area
ORTHLLS2D returns the Orthogonal Linear Least Squares estimate for parameters of line a x + b y + c = 0
function f = OrthLLS2D(x, y)
Inputs x and y must be real vectors of equal size. Output f is the real vector [a b c]...
The solution to the problem of calculating the distance between an ellipse and a point is less than straightforward. The problem can be solved analytically however, which boild down to solving a quartic equation in cos(f), with (f) the true...
A function which connects two points in an image with a line of ones.
Form store is a useless module by itself. It maintains and provides other modules with a list of forms. Captcha 5.x-2.x, but also MyCaptcha 5.x-1.x rely on it to add captcha points to arbitrary forms.
Given a desired value "y0", this function finds all the elements "y" in a vector whose values are the closest to "y0" in the whole vector, and also the positions "xi". So, the output is a set of points...
This e-book is based on the Student Edition of MATLAB 7, which includes a symbolic toolbox. The Professional Edition may of course also be used. The goal is to exploit a restricted subset of MATLAB commands and functions to explore most of the...
User points Nodes and Comments utilizes the Userpoints Core module to grant points to a user when they post a node or a comment and/or moderate a comment. What it does (features)
A configurable number of points can be awarded for... |