Wow Informer And A B
This package performs time-varying connectivity analysis on a simulated data and a newborn EEG sample. Two time-frequency methods (short-time approach as well as Adaptive AR modelling) have been utilized to extract time-varying Partial Directed Coherence (PDC) and Directed Transfer Function (DTF)...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 337.92 KB | Download (45): Time-Varying EEG Connectivity: A Time-Frequency Approach Download |
This function solves the "forward geodesic problem," which is to compute the endpoint of a geodesic (shortest-distance) path on the ellipsoidal earth, given the start point, a path length, and a starting azimuth.In response to a user request, this function numerically inverts the previously...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): VDISTINV: Find the endpoint of a geodesic on the ellipsoidal earth Download |
Function BONDITO (don't ask :)) computes allocation of zero-coupon bonds of selected maturities, optimal given current yields and a forecast of yield changes. Having limited practical value, the file can be helpful as a starting point - note the curve-manipulated-with-sliders GUI element - for...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Devise a bond maturity strategy Download |
Usage: I=mi(A,B), where A and B are equally sized images/signals.Function hist2 (included) is used to determine the joint histogram of the images/signals.Assumptions: 1) 0*log(0)=0, 2) mutual information is obtained on the intersection between the supports of partial histograms.Example (in...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Fast mutual information of two images or signals Download |
NUMREGPOLY Number of Intersection Points and Regions Made By The Diagonals of a Regular Polygon [A,B,I,R]=numregpoly(N) for integer n returns the following: A: Vector of number of points inside the regular n-gon other than the center where exactly k lines meet B: Vector of number of k-tuples of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Number of Intersections Regular Polygon Download |
SUBSPACE(A,B) finds the largest angle between two subspaces specified by the columns of A and B. If A and B are vectors of unit length, this is the same as COS(ABS(A'*B)) in exact arithmetic. This is a replacement for MATLAB's SUBSPACE.m Rev. 5.5-5.8 that fails to provide correct answers for...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): subspace.m Download |
For fixed integers a and b such that D = a^2 + 4*b is nonnegative, the sequence V_n = GeneralizedLucas(n,a,b) satisfies the recurrenceV_n = V_{n-1} + V_{n-2} and the initial conditions V_0 = 2 and V_1 = a. When a=b=1, this is the Lucas sequence.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): GeneralizedLucas.m Download |
How to use tritrig:tritrig is in the form 'tritrig(a,b,c,A,B,C)' where a b c A B C are theangles and the lengths of a triangle. If your triangle has a right anglein it, it must be 'C' and the hypotenuse must be 'c'. The angles andlengths that you do not know must be typed as...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): tritrig Download |
X = POWERM_PADE(A,P) computes the P'th power X of the matrix A, for arbitrary real P and A with no nonpositive real eigenvalues, by the Schur-Pade algorithm. [X,NSQ,M] = POWERM_PADE(A, P) returns the number NSQ of matrix square roots computed and the degree M of the Pade approximant used.If A is...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Arbitrary real power of a matrix by Schur-Pade algorithm Download |
S=MINKSUM(A,B) produces the Minkowski sum of two sets A and B in Euclidean space, the result being the addition of every element of A to every element of B. [S,D]=MINKSUM(A,B) returns the Minkowski sum S, and also the multiplicity of each element in S. The number of columns represent the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Minkowski Sum Download |
FINDARRAY Find one array within another I = FINDARRAY(A,B,'first') for the array B returns an index array of the same size as B containing the smallest absolute index in A for each element of B which is a member of A and 0 if there is no such index. FINDARRAY(A,B) is the same as...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): FINDARRAY Download |
The function computes parameters a, b, and c of the weighted orthogonal least squares fit of line ax+by+c=0 to a set of 2D points with coordinates given by x and y and weights w.n=100;x=1:n;y=2.5*x + (5+300./x).*randn(1,n);plot(x,y,'.k')hold onw=1:n;[a b c] = wols(x,y,w);plot([0,n],[-c/b,-c/b -...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (43): Weighted Orthogonal Least Squares Download |
simequation(a,b)a must be a n x n matrix of coefficients andb must be a n x 1 matrix of constantsExample usage to solve this system of 2 simultaneous linear equations in 2 unknowns:2x + 4x = 3 and3x + 5x = 6%coefficient matrix..>> cm = [ 2 , 4; 3, 5]cm = 2 4 3 5>>%..calling the function to solve...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Solves a linear system of simultaneous equations (Sripts) Download |
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 anomaly on the ellipse.This submission implements this...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): Distance between points and ellipse Download |
% C = CIRCONV(A,B,N) performs the N-point circular convolution% of vectors A and B. C is returned as a row vector. A and B% must be vectors, but may be of different lengths. N must be% a positive, non-zero integer. The results of CIRCONV will% match that of CONV if N>=( length(A) + length(B) -...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (43): N-point circular convolution Download |
plot_lines(xin) - Plots vertical lines at points defined on the x-axis using red solid lines and the current y-axis limits using a single line handleplot_lines(xin,[a b]) - Plots the lines from a to bplot_lines(xin,[],lntype) - Plots the lines using the current y-axis limits using the line type...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): PLOT_LINES Download |
Calculate the distance of a given point P from a triangle TRI.Point P is a row vector of the form 1x3. The triangle is a matrix formed by three rows of points TRI = [P1;P2;P3] each of size 1x3. dist = pointTriangleDistance(TRI,P) returns the distance of the point P to the triangle TRI. [dist,PP0]...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Distance between a point and a triangle in 3D Download |
refX and samX should hold [L a b] values. CMC between refX and samX is calculated on each row. If refX contains 1 row and samX contains N rows the value of each row in samX is compared to refX. refX samX [L1 a1 b1] -> [L1 a1 b1] => CMC1 [L2 a2 b2] -> [L2 a2 b2] => CMC2 . . . [LN aN bN] [LN aN bN]...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): cielab2cmc_dE Download |
This module adds the possibility to set a global header and a global footer for all e-mails sent by Drupal.It is compatible with htmlmail module.
Platforms: PHP
License: Freeware | Size: 10 KB | Download (41): Mail global header and footer Download |
The mp3act digital music system is designed to be a central location for your digital music collection and a means to easily organize and listen to your digital media through your stereo, over a local network, or anywhere in the world.With mp3act you are able to listen to your music collection...
Platforms: PHP
License: Freeware | Size: 327.68 KB | Download (46): mp3act for Music and Sound Download |