Superman Returns
The included features are:Definition of additional parameters on the imput of the function:>> Fs, Sampling Frequency [Hz]>> dBref Reference level for dB scale. for SPL, Pref = 20E-6 Pascal>> Fc One Third Octaves Preferences Ex. Fc = [20 25 31.5 40 ... 1000];The function returns the values in dB...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): One-third-octave filter bank, including additional inputs and outputs Download |
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 (47): 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 |
The ref() returns row-echelon-form of nxn matrix.Example>> a=[1 2 3 5; 2 4 5 6; 7 3 7 2; 2 4 1 8]>> ref(a)result show a row-echelon-form
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Row Echelon Form 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 (54): 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 (45): 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 (43): 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 (44): 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 (45): Excel Named Ranges Download |
This function returns the maximum relative drawdown of time-series data, as well as the start and end indices of the period when this drawdown was experienced.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Maximum Drawdown 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 |
This is a function that returns a string vector containing the expiration dates of options when a serial date vector is given. Also returns the index of the expiration fridays in the serial date vectors.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Expiration Friday Download |
Function takes a picture as an argument (suitably should contain only one object whose centroid is to be obtained) and returns the x and y coordinates of its centroid.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Centroid Calculation Function Download |