Normalized Quaternions
For purposes of these tools, a quaternion, q, is just a four element vector where q(1:3) is the "imaginary" or "vector" portion of the hypercomplex number, and q(4) is the "real" or "scalar" portion. Consequently, if q represents a rotation, then: q(1) = v1*sin(phi/2) q(2) = v2*sin(phi/2) q(3) =...
Platforms: Matlab
License: Freeware | Size: 30.72 KB | Download (44): Quaternion Toolbox Download |
This code takes an expression for a normalized AF in spherical coordinates and creates a 3D plot in cartesian coordinates. Examples are specific to Antenna Theory and Design (2nd Ed) by Stutzman and Thiele.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): 3D Plots of Normalized Array Factor Examples Download |
Normalized mutual entropy provides a measure of the diversity of a two dimensional matrix. It takes mutual entropy and normalizes for the marginal entropy of the variable of interest (column variable in the code). See screen shot or embedded references for formula.This code is used for the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): Normalized Mutual Entropy Download |
Both functions caculate the Lomb normalized periodogram (aka Lomb-Scargle, Gauss-Vanicek or Least-Squares spectrum) of a vector x with coordinates in t, which is essentially a generalization of the DFT for unevenly sampled data.The codes are transcriptions from Fortran of the subroutines found in...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Lomb normalized periodogram Download |
This script contains a function that creates missing directories for a given path and returns a normalized absolute version of the path.If the given path already exists in the filesystem the filesystem is not modified.Otherwise makepath creates directories along the given path using the...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (55): Helpful 5-liner version of os.makedirs Download |
Data stored column-wise in an input matrix are normalized as time series, with options to output just the normalized data, or the norm of each column as well. Fast, uses no loops.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): normColumns.m Download |
alculate the normalized partial energy sequence (NPES) for a given signal vector X.If a particular transform is capable of capturing the key features of a signal in few coefficients, the NPES will approach unity for relatively quickly.Ref: Percival and Walden, Wavelet Methods for Time Series...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Normalised Partial Energy Sequence Download |
Have you ever created an object for your GUI using Normalized units, but wanted to get its position in Points to line up a text object according to the font size? Instead of SETting the Units property to Points, GETting the Position, and SETting the Units back to Normalized, just use...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): GETINUNITS Download |
http://simulations.narod.ru/Run cross_product.mSee how it looks here:Also plot [bxa], n - normalized [axb] and signs. create_3d_arrow.m and update_3d_arrow.m function s to work with 3d arrow.
Platforms: PHP
License: Freeware | Size: 20.48 KB | Download (43): cross product visualization Download |
Using Affymetrix CEL files as its source, this script combines quantile normalized SNP A and B probe intensities for each marker into a theta value, then calculates B-Allele Frequencies for each marker. For information on accessing B Allele Frequencies for Illumina data,
Platforms: Mac
License: Freeware | Size: 1.02 KB | Download (43): Affymetrix B Allele Frequency Calculation 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 |
This program is open source code of fast Fourier transform in matlab.Where y is the input argument and p is the normalized size of the input. Lety = [1 2 3 4 ];x= length(y);m= log2(x);p= ceil(m);To call the function useft2(y,p);
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (56): Fast Fourier Transform Algorithm Download |
The different low dimensional embeddings are an orthonormal coordinate system generated from a1. Diffusion process defined on the data2 . Normalized Laplace Beltrami operator3. Normalized Focker Plank operatorThis is a nonlinear dimension reduction technique using the concepts of manifold...
Platforms: Matlab
License: Freeware | Size: 890.88 KB | Download (49): Eigen Function of the Laplacian Download |
[Fs,Vs]=subtri(F,V,n)Sub-triangulates the triangles defined by the patch format data F (faces) and V (vertices). Can be used to increase the density of triangulated data or to triangulate the icosahedron to create geodesic sphere triangulations with desired density.Creates n addition points on...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): subtri Download |
This is an instructional GUI to be used for learning how Euler angles, DCMs, quaternions, and Euler vector parameters relate in the rotation of cartesian frames (A to B). Can also be used to convert between all 4 values, however see below for a function that accomplishes this.Features:- All 12...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): Euler angle, DCM, Quaternion, and Euler Vector Conversion/Teaching GUI Download |
Quaternion Library for SimulinkVersion 1.7 (JASP) 12-Dec-2009This is a library of blocks that allows manipulation of quaternions.The available blocks are: Quaternion Normalize Quaternion Conjugate Quaternion Multiply Quaternion Propagation Quaternion Vector Transform Quaternion Vector Rotation...
Platforms: Matlab
License: Freeware | Size: 71.68 KB | Download (45): Quaternion Library for Simulink Download |
SpinCalc is a consolidated matlab function that will convert any rotation data between the 4 types included. Will also convert between 2 different Euler angle set types.Multiple orientations can be input. For N orientations:DCM ===> 3x3xN multidimensional arrayEA### ===> Nx3 matrixEuler Vectors...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Function to Convert between DCM, Euler angles, Quaternions, and Euler vectors Download |
This function generates patch data (faces d-deDUFd-deDt, vertices d-deDUVd-deDt and color data d-deDUCd-deDt) for 3D images. The patches are only generated for the voxels specified by the linear indices in d-deDUINDd-deDt. The variable d-deDUptyped-deDt indicatesthe type of patch:d-de?vd-deOao...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): ind2patch Download |
Run the M-file and place the poles of your system, then press ENTER. After, insert the zeros of your system, then press ENTER. The result is the Bode diagram of the filter's normalized frequency response that has NUM and DEN with the same order
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Digital filter with poles and zeros placement Download |
function W = euklid_W(ws,d,n)function W = euklid_invW(ws,d,n) PURPOSE: create an (inverse) euklidean distance spatial weight matrix (n x m 'moving-window' style matrix with distance to center cell weighted.) ------------------------------------------------------------------ USAGE: W =...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Euklid (Inverse) Distance Weight Matrix Download |