Iota Phi Theta Sweethearts
[XR,YR,xr,yr,THETA] = rotateData(X,Y,X0,Y0,THETA,DIRECTION) Rotate coordinates especified by [X,Y] around the point [X0,Y0], by an angle (in radians) defined by THETA and to the direction especified by DIRECTION. THETA is a scalar if the user wishes to define it. THETA can also be calculated...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): rotateData Download |
In the programs, we perform flash calculations of a mixture of hydrocarbons (ethane, propane, n-butane and n-pentane) using the Rachford-Rice equation. The phi-phi method, based on the SRK equation of state, is used to compute the equilibrium constants. We also find the True Vapor Pressure. All...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Flash Calculations using the Soave-Redlich-Kwong equation of state Download |
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 |
Searches a string for field names contained in a given structure, then replaces each occurrence of the field name with the corresponding field value.I use this for dynamically changing the titles on my plots during simulations that require variation of parameters.Code for title in the image:%...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Swap structure values into strings Download |
A common request is to interpolate a set of points at fixed distances along some curve in space (2 or more dimensions.) The user typically has a set of points along a curve, some of which are closely spaced, others not so close, and they wish to create a new set which is uniformly spaced along...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): interparc Download |
ELLIPSESELECT An interactive ellipse selection tool HE = ELLIPSESELECT('init', A, B, X0, Y0, PHI, STYLE)Creates the ellipse and initialzes callbacks. Returns the handle of the ellipse HE. Ellipse parameters: A Length of the semi-major axis B Length of the semi-minor axis X0 Abscissa of the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Ellipseselect Download |
Generate a Gamma random variable "Statistical Distributions", Evans, Hastings, Peacock, 2nd Edition, Wiley, 1993, p.75-81INPUTS: (N,M) = size of array of random variables to generate b = scale parameter > 0 c = shape parameter > 0 probability density function (pdf) p(x) = (x/b)^(c-1) * exp(-x/b)...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): rand_gamma Download |
A polynomial is a mathematical expression involving a sum of powers in one or more variables multiplied by coefficients. A general multivariate polynomial is captured with the syntaxp = sum( c_i * prod( x_j^p_ij ) ) + kwhere the summation is over i, the product over j, and c_i is the set of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 40.96 KB | Download (43): Symbolic polynomials Download |
Conversion routines to take a surface (a function z of (x,y) or (theta,r)) and convert this into a solid; much as meshz does, but a little more useful for outputting as an STL for frabrication in a 3D printer. There are two cases, one in Cartesian co-ordinates, and the other in polar...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): surf2solid Download |
Create a custom 2D gauss, which can be used for filtering, weighting, etc. All parameters are customizable, including standard deviations (sigmaX, sigmaY), rotation (theta), result size, center, etc.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Custom 2D Gauss Download |
Find those points (xi,yi) who are inside the polygone defined by the vectors (x,y).Syntax: [xin,yin,Ind]=Inside(X,Y,xi,yi)where Ind is the index of (xi,yi) that are inside the polygone Example: %--- create polygone (x,y) phi=linspace(0,2*pi,50); X=(1+0.2*sin(6*phi)).*cos(phi);...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Points Inside polygone 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 |
% This function allow you to build 3D-fractal trees% by using modified algorithms based on the so-called Kantor`s array% and method of inverse trace% These methods allow you to economise time and computer memory% considerably% It`s arguments:% FraktalTM3D(n,r,phi,chi,xb,yb,zb)% n - number of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Generation of 3D fractal trees Download |
This script generates artificial spatial data using a first order spatial autoregressive process (AR1)The process isX(i,j) = PHI*(X(i,j-1)+X(i,j+1)+X(i-1,j)+X(i+1,j) + errorTo generate a 10x10, periodic spatial pattern, with normal error distribution, and a variance of SIGMA, the command...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Generate AR1 spatial data Download |
Very simple customizable inline function to draw arrows. Lightweight and fast for drawing many, many arrows. You customize fill color, linewidth, etc... Tune theta up if you want a wider arrowhead.takes two [x y] coords and one double, headsize, that allows you to tune the length of the arrowhead...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Arrow plotter Download |
RM2SF changes the typeface of non-math text with latex interpreter from roman (serif) to sans-serif. This is needed because the latex interpreter typesets both math and text in roman irrespective of the font specification. Therefore RM2SF places each non-math part of the text inside textsf{}....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): RM2SF Change the typeface of non-math text to sans-serif Download |
Did you ever want the ability to define a special constant that is seen by and used in all of your functions, without needing to create global variables?For example, suppose you used the golden ratio often in your work. Rather than creating a global variable named phi, or being forced to pass a...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): User Defined Constants Download |
Feedback control of a plate-ball system (controls a sphere by rolling without slipping in the plane)It steers a sphere with a possibly unknown radius that rolls without slipping on the plane to a desired position and orientation by using iterative feedback control.inputs:State = [u,v,phi,x,y],...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Iterative Feedback Control of Plate-Ball Orientation and Position Download |
Auto Gaussian & Gabor Surface fit---2 functions to fit a 2D Gaussian or 2D Gabor to a surface. The routines are automatic in the sense that they do not require the specification of starting guesses for the model parameters. This is done by evaluating the quality of fit (sum of squared error) for...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Auto Gaussian & Gabor Surface Fit Download |
iMind Sphere is an application that will allow you to relax, sleep better, concentrate on your work, improve your creativity, learn faster, or even meditate more deeply, all in a simple and easy way. You don???*a*?t need to be an expert in meditation to use iMind Sphere. You can improve your live...
Platforms: Mac
License: Commercial | Cost: $4.99 USD | Size: 160 MB | Download (43): iMind Sphere Download |