Rand
In this Matlab application was perused Jean Le Rand D'Alambert's** Reduction Method for two degree of linear differential equations and several analytical examples are compared with matlab solution applications.**Jean d'Alembert was a a French mathematician who was a pioneer in the study of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 184.32 KB | Download (40): Jean Le Rand D'Alambert Reduction Method (update:22-06-07) Download |
A very simple random integer generator using rand().[just for educational purpose ;) !!]
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): A very simple random integer generator using rand() Download |
Math::Random::MT::Auto is a Perl module for auto-seeded Mersenne Twister PRNGs. SYNOPSIS use strict; use warnings; use Math::Random::MT::Auto qw(rand irand shuffle gaussian), /dev/urandom => 256, random_org; # Functional interface my $die_roll = 1 + int(rand(6)); my $coin_flip =...
Platforms: *nix
License: Freeware | Size: 122.88 KB | Download (98): Math::Random::MT::Auto Download |
ZRandom implements high quality random number generation for Microsoft Excelusing the Merssenne Twister algorithm : * Use higher quality pseudo-random numbers than the Excel RAND() and VBA Rnd() functions. * Generate random numbers from 16 discrete and continuous distributions. ZRandom implements...
Platforms: Windows
License: Shareware | Cost: $29.95 USD | Size: 696.32 KB | Download (54): ZRandom Download |
The script generates an index using the "rand" function, and using that index selects the word from the lexicographically list of words with the specified length. Requirements: - MATLAB 7.8 or higher
Platforms: Windows, Mac, *nix, Matlab, BSD Solaris
License: Freeware | Download (60): RANDWORD Download |
event1=rand(100,1)*1000;%for neuroscientists, this is the timestamp of the node;event1=sort(event1);event2=[event1+10+rand(100,1)*2;event1+10+rand(100,1)*4; event1+10+rand(100,1)*4; event1+100+rand(100,1)*10]; % for neuroscientists, this is your spikes :)[rst,nodewndw]=...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (42): Raster and PETH Simple Version Download |
Same functionality as the MATLAB rref function, but quicker.>> mex_rref_demo A = rand(200); R1 = rref(A);Elapsed time is 1.435837 seconds. R2 = mex_rref(A);Elapsed time is 0.012729 seconds. max(max(abs(R1 - R2))): 0Speed-up factor: 113
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): mex_rref Download |
With this program you can smooth your data automatically only by selecting the area to be smoothed with 2 clicks. Then INTERP1 is used to smooth. The operation is repeated until you press ENTER.Many other options are available. Like the use of BEZIER curves. Just type>> help click2smoothOr to get...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): lick2smooth.m (Sep 2009) Download |
It calculates the Spearman rank correlation coefficient from 2 or more data sets, and the associated t-test and p-values. The code is adapted with major changes from the Numerical Recipes book (http://www.nr.com/)Example:>> x = [1 2 3 3 3]';>> y = [1 2 2 4 3; rand(1,5)]';>> [r,t,p] = spear(x,y)>>...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Spearman Rank Correlation Download |
PLOTSTATS(XDATA,YDATA) generate a nice figure for the statistical visualisation of datasets. YDATA is a cell array of vectors, each vector being a group of samples to test. XDATA is a cell array of the same size of YDATA, each element being a single number representing the abscissa of the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): plotstats Download |
TOSAVEDWORKSPACE Saves the workspace to a structureThis trivial function saves all of the workspace variables to a structure. The intent of this script is to record the workspace variables before performing an operation on them, so as to keep them available after the operation for comparison....
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): ToSavedWorkspace Download |
Functionally the same xlswrite.m (by Scott Hirsch), the only difference is in the implementation.XLSWriteMex is implemented in C++ and compiled into a MATLAB MEX dll. I did this because 'xlswrite.m' does not compile using the MATLAB compiler, so any MATLAB program using 'xlswrite.m' cannot be...
Platforms: Matlab
License: Freeware | Size: 40.96 KB | Download (39): XLSWriteMex Download |
TICK2BAR[T,H,L,O,C,V]=Tick2Bar(t,p,v,g)Divides a time series into periods of g days(may be less than one day).It is useful in conjunction with HIGHLOW [T,H,L,O,C,V]=Tick2Bar(t,p,v,g); highlow(H(:),L(:),C(:),O(:),'k',T(:));It returns:T date/time of the periodH high of the periodL low of the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Tick2Bar Download |
LEPSTEST [lepss] = lepstest(cumclimate,xo,xf,refprob) This code computes LEPS score LEPS: Linear Error Probability Space (Ward and Folland, 1991) lepss - Linear Error Probability Space Score xo - measured values: column vector or scalar xf - forecasted values: column vector or scalar...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): LEPSTEST Download |
function mHist = hist2d ([vY, vX], vYEdge, vXEdge)2 Dimensional HistogramCounts number of points in the bins defined by vYEdge, vXEdge.size(vX) == size(vY) == [n,1]size(mHist) == [length(vYEdge) -1, length(vXEdge) -1] EXAMPLEmYX = rand(100,2);vXEdge = linspace(0,1,10);vYEdge =...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): 2D Histogram Matrix Download |
Measure percentage of Accuracy and the Rand index of clustering resultsThe number of class must equal to the number clusterOutput Acc = Accuracy of clustering results rand_index = Rand's Index, measure an agreement of the clustering results match = 2xk matrix which are the best match of the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Clustering results measurement Download |
% Add 2 big INTERGER a b, e.g with 100 digits% algorithms will add each group of nbit digits% of a and b. nbit(default)=6% S = add(a,b), return S = a+b%-----------------------% Example% na = 3+ round(10*rand);% nb =5+ round(10*rand);% a = round(10^na*rand)% b = round(10^nb*rand)% s =...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Adding 2 big interger, e.g 100 digits Download |
This function shuffles an adjacency matrix in a way that preserves the structure of the network it represents. It only shuffles the order of the nodes; in other words, if the fourth column swaps places with the fifth column, then the fourth row also swaps places with the fifth row. Every entry on...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): QAP Rand Matrix Swap Download |
[I, J] = IND2SUB4UP(IND) returns vectors I and J containing equivalent row and column subscripts corresponding to the index vector IND.Let ind be a vector of indexes for entries of some upper triangular matrix. The entries are selected vertically so that: ind = 1 is associated to entry (1, 2) ind...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): IND2SUB4UP Subscripts from linear index for upper triangular matrix (only elements above diagonal) Download |
Tristan UrsellSub-pixel Resolved 2D ConvolutionMarch 2012 matout=matoverlay(mat1,mat2,x,y); This function takes an input matrix mat1 and creates an image of thematrix mat2 at the position (x,y) in mat1. If (x,y) are floats, then theimage is a sub-pixel bilinear representatoin of mat2 at position...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Matrix Convolution with Sub-Pixel Resolution Download |