Trig Vectors
% This code is used to digitize figures that you find in publications, journals, or simply scanned reports or documents by clicking on the desired points using the mouse.% You can use it to pick [x,y] points by clicking on the original scanned plot.% To run, simply type: Nassim_Grabit0% and then...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 870.4 KB | Download (50): Grab 2D points Download |
The Lorenz attractor, named for Edward N. Lorenz, is an example of a non-linear dynamic system corresponding to the long-term behavior of the Lorenz oscillator.The Lorenz oscillator is a 3-dimensional dynamical system that exhibits chaotic flow, noted for its lemniscate shape. The map shows how...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): Lorenz attaractor plot Download |
This script plots the polarization Stokes vectors (S1, S2, S3) on a Poincare sphere. See "Polarized Light" by Collett (publ. Dekker) for a background on the optics.Type "poincare" at the Matlab prompt and a graphical window should pop up. Enter an input data file in the GUI, then lick "Plot". You...
Platforms: Matlab
License: Freeware | Size: 256 KB | Download (49): Poincare Sphere Plot of Polarimetry Stokes Vectors Download |
It could be useful to know the normal vectors of a surface. The function provided is able to take a 2.5D unrestricted triangulation (Delaunay or not) which define a 3D surface and computes the normal vectors of each cell. It is possible to compute vectors at the center cells or at vertices.Inputs...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): Compute normal vectors of 2.5D triangulation Download |
This is a templated library of numerical base classes which implement basic data structures like complex numbers, dynamic vectors, static vectors, different types of matrices like full matrices, band matrices, sparse matrices, etc. and also included a representation for Tensors and its typical...
Platforms: Windows, Mac, *nix, C/C++, BSD Solaris
License: Freeware | Download (49): TBCI numerical library Download |
This function is for training a codebook for vector quantization. The data set is split to two clusters, first, and the mean of each cluster is found (centroids). The disttance of each vector from these centroids is found and each vector is associated with a cluster. The mean of vectors of each...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Vector Quantization - K-Means Download |
CONV_MTX Convolution matrix. If 'x' is a column vector of length 'nx', then conv_mtx(x,nh) gives a toeplitz matrix 'X' of size (nx+nh-1) times (nh). 'nh' is the length of the column vector 'h' with which 'x' is convolved. Thus finally 'X*h' is same as conv(x,h). If 'x' and 'h' are row vectors,...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): convlution matrix in four lines Download |
GRDWRITE2(X,Y,Z,'file.grd') will create a grid file containing the data in the matrix Z. X and Y should be either vectors with dimensions that match the size of Z or two-component vectors containing the max and min values for each. The file will be a COARDS-compliant NetCDF file, the standard...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): grdwrite2 Download |
Let us suppose a set of non-linear equations in the formF(m) = d(m,d are vectors, F is a vector function of vector argument). ANNI tries to construct suitable numerical approximation for inverse projection of d to m, i.e. to find numerical form ofG(d) = m.Such mapping may not exist in general,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 276.48 KB | Download (49): ANNI - solver of a set of non-linear equations Download |
The MATLAB toolbox offers two particular functions working on vectors as the vector cross product and the dot product. These functions are implemented to work on a general matrix dimension. Unfortunately, this implies a long overhead and slows down the performance significantly.This archive...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (49): Vector functions (double) Download |
Note that this function do not return EIGEN VECTORS.This function is faster than looping on EIG when eigenvalues must be computed for a large number of matrices. The test shows it can speed up by 10 times
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): Multiple eigen-values for 2x2 and 3x3 matrices Download |
This is a tiny project just to show how we can build a useful tools from the available graphics commands in MATLAB . In this project I had been used the "Plot Annotation" Commands to write a program in Simulink using "Embedded MATLAB Function"block to plot the vectors in 3-phase systems. In...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 174.08 KB | Download (49): 3-Phase Vector Plotter Download |
This function is similar to MATLAB's own scatter3 routine. PLOTCLR(X,Y,V) plots the values specified in V as a color coded scatter plot at the locations specified in the vectors X and Y. The current colormap of the figure is used for the color code.This function is an improvement (faster) from...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): color coded 2D scatterplot Download |
MathGL++ is a class library for fast C++ maths for use in OpenGL C++ projects. Easy to use and similar to the OpenGL API. Matricies, Vectors, Quaternions, Linear polynomials with eigen systems are all going to be included.
Platforms: *nix
License: Freeware | Size: 409.6 KB | Download (48): MathGL++ Download |
The zip includes:(1) lsqAffineSpace: a 'low level' routine that takes a set of m-dimensional real sample data and returns the optimal-fit k-dimensional affine subspace, with some options for discarding outliers.(2) lsqPlane and lsqLine: lsqAffineSpace wrappers, that compute optimal line and...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): Least-Squares optimal affine subspace Download |
Efficient implementation of K-medoids clustering methods. This method is similar to K-means but more robust.For more detail, please seehttp://en.wikipedia.org/wiki/K-medoidsInput data are assumed column vectors.tryload data;label=kmedoids(X,3);scatterd(X,3);
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (48): K-medoids Download |
The goal for me was to draw some reference frames to illustrate coordinate systems. I used arrow3 for a while, it was very usefull and I liked some of its features, but I had a few problems with it. 1/ 'deformation' problemns when applying functions like 'axis equal' when different objects are...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Plot 3D vectors/arrow (again ...) Download |
The program computes and plots the orthonormal basis for the input vectors with flexible but uniform dimensions.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (47): Gram-schmidt orthogonalization GUI Download |
This function creates a 2D scatterplot from two data vectors, and puts a univariate histogram for each vector at the horizontal and vertical axes of the plot.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): marginhist.m Download |
Uses fft to calculate the circular cross correlation of two periodic signal vectors.This is equivalent to xc(k)=sum(u1.*circshift(u2,k)), but much faster (on the order of 500 times faster for a 1024 point signal).The package also includes two examples. One checks the calculation against the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): Fast Circular (Periodic) Cross Correlation Download |