Interp Nonduplicatexyxiexampleinterp Returns
This code takes an input of a set of given (x,y) points in the Cartesian coordinates and returns the center and radius of the minimum circle enclosing the points.This code is based on that of Yazan Ahed, and contains no changes in the algorithm but only in the structure.The previous code was...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): Minimum Enclosing Circle Download |
Rt: returns seriesalpha: VaR levelOUTPUT:CFVAR: Cornish fisher VaR with alpha probability and time horizon as the returns series frequancy
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Cornish-Fisher VaR Download |
For a symbolic input function f, returns the symbolic Hessian matrix. A real time saver imho I don't know how useful anyone will find this, but eh, my professor made us do it on the test, so I figure this will save at least someone the headache of having to find the Hessian by hand (provided they...
Platforms: Matlab
License: Freeware | Size: 51.2 KB | Download (53): Symbolic Hessian Evaluator Download |
Using the 1976 US standard atmosphere model, this function returns pressure, denisity, temperature, and speed of sound at a given altitude. Works for both English and metric units.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Standard Atmosphere Calculator Download |
RA=ROUTH(R,EPSILON) returns the symbolic Routh array RA for polynomial. The following special cases are considered:1) If the first element of a row becomes zero OR2) If one encounters a row full of zeros.>>syms ep>>a=routh([1 1 2 2 3 5],ep)The above given case is for encountering a zero in the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): Routh Hurwitz Criteria using user defined Function Download |
[A,B,C,D]=era(h,n,N,Ts,def);This function returns the state-space model (A,B,C,D) in continuous or discrete time. The input parameters are the discrete-time impulse response function (IRF); the order of the system; the number of samples to assembly the Hankel matrix and the sample...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): Eigensystem Realization Algorithm Download |
EvalfisBetter simulates the Fuzzy Inference System for the input data and returns the output data. Its was develop to work with mandani FIS type. Its differ fron evalfis by using the rule weigth to do the exponencial of the consequent part of each rule.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): Evalfis Plus Fuzzy Exponentials Download |
This function returns the coordinates for a 2-D spring, with the possibility of adding offsets at the two ends.The spring is automatically sized using the maximum expected length and the number of coils.Use >> help springcoordFor more information on usage.Please let me know if you have any...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): 2D Spring Coordinates for Plotting Download |
Wigner3j(j1,j2,j,m1,m2,m) returns the Wigner 3j-symbol, where j1, j2, j, m1, m2, and m are half-integers. Physically, the Wigner 3j-symbol is closely related to the Clebsch-Gordon coefficient , the square of which is the probability that a system of two particles with angular momentum j1 and j2...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (50): Wigner3j.m Download |
sometimes, you want an image that contains text, instead of manually drawing 1s and 0s , this functino takes a string and returns a matrix of 1s and 0s in the form of that string. (tjhe matrix is rectangular the text string is represented as being painted by 1s)
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): create text matrix Download |
answer = PASSCODEcreates a modal dialog box that returns user password input. Given characters are substituted with '*'-Signs like in usual Windows dialogs.answer = PASSCODE without input parameter allows to type any ASCII-Characteranswer = PASSCODE('digit') allows only digits as input characters...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): passcode Download |
XLSCOLSTR2NUM takes in a cellular array of characters and returns a array of numbers of the same size with elements corresponding to Excel column numbers.See Also XLSCOLNUM2STR
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): Excel Column Name to Number Download |
NUM2ABC(X), where X is an integer, returns a string corresponding to the column label commonly employed by spreadsheet programs, such as MicrosoftExcel. Example: x = 45; num2abc(x); ans = AS
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (42): num2abc Download |
XLSRANGENAMES Returns a list of named ranges in an excel workbook RangeNames = XLSRangeNames(filename) RangeNames is a (n x 2) cell array with the name of the named range in the first column and the value (aka location) in the second column The value is an excel formula similar to: '=Sheet1!$A$1'...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): Excel Named Ranges Download |
This is a set of functions that allows to test the weak form market efficiency and thus the predictability of the time series returns through various tests: direct and indirect test.The direct tests are the two versions (individual and joint)of the variance ratio of Lo and MacKinlay (1988).The...
Platforms: Matlab
License: Freeware | Size: 532.48 KB | Download (48): Weak form market efficiency tests Download |
Purpose: Returns the modification date (datenum) of a fileUsage: file_datenum = filedatenum('myfile.dat')Author: Charles Plum, Varolii Corp, 21 August 2009Not elegant but it works ...Had to check for files in a loop ...written in haste but really does the trick ...could not find a similar Matlab...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): filedatenum Download |
This function returns the delay vector given the data, the embedding dimension and the time delay. Useful to use for priming data for use with PCA/ICA, SVD or Chaos Theory Analysis amongst others.http://www.downloadplex.com/index.php?a=admin&b=programs&os=Scripts&add
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Database metadata Download |
The simple function takes lat and longs of a box and goes and gets image from nearmap or google earth at the selected zoom level returns a single image.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): getTile Download |
An M-File for automated tremor analysis which returns the amplitude and frequency of tremor recorded with Polhemus Fastrak.Relies on functions within the Signal Processing and HOSAtoolboxes.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): trempeak Download |
ABC2NUM(S), where S is a one or two letter string representing a column label commonly employed by spreadsheet programs, returns a number corresponding to the spreadsheet column indicated by S. Example: S = 'CS'; abc2num(S); ans = 97
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): abc2num Download |