Variable
In Python, any variable can be re-bound at will -- and modules don't let you define special methods such as an instance's __setattr__ to stop attribute re-binding. This script allows you to manage constants in Python.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Constants in Python Download |
Sometimes you would want to create objects from various classes based on some condition (without using eval()). For example when parsing X(HT)ML files you want to handle some tags using specific classes. This script is an example in this sense.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (61): Create objects from variable class names Download |
The function's algorithm uses Gaussian integer factorization and variable precision integers. Requirements: - MATLAB 7.8 or higher
Platforms: Windows, Mac, *nix, Matlab, BSD Solaris
License: Freeware | Download (56): Sumsqint Download |
LLR_DEMOD LLR Demodulator H = LLR_DEMOD_MEX(CONSTELLATION, MAPPING, METHOD) constructs a LLR demodulator object H for a given constellation, mapping and noise variance. The vectors CONSTELLATION and MAPPING are usually generated by using MATLAB Modem Modulation Modem. and contain the complex or...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Calculation of LLR values with variable noise variance Download |
Orthogonal Variable Spreading Factor (OVSF) code tree generation. Only input value is spreading factor (must be power of 2), and only output is cell array for orthogonal codes that is SF x SF in size.Code Tree Reference:3GPP TS 25.213 V10.0.0, "3rd Generation Partnership Project;Technical...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): WCDMA OVSF Code Tree Download |
[data, plot_title] = ssbin2mlab(filename, desired_variable) reads a Binary Smartspice RAW file 'filename' and extract the variable(s) of interest from 'desired_variable' using the file's own variable index format and place the data in column into the variable 'data' and also return a title into...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): Smartspice binary format RAW file reader Download |
This implementation is flexible, with variable no.of antenna elements, the element spacing, tap spacing, sampling time etc. One can study the performance of the beamformer for different values of these parameters.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Data Independent Beamformer Download |
In many filtering problems one receive not just a single measurement, but a set of measurements at each time step. The most straightforward way of dealing with such variable cardinality entities in Matlab is to store them in cell arrays, but for various reasons the user may not want that. The...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): Variable cardinality bookkeeping functions Download |
To use this function just define a variable say var,var = pnseq(a, b, c);for a, b and c refer to the zip file
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (45): Function to generate PN sequence Download |
This code calculates the generalized Hurst exponent H(q) of a stochastic variable x(t) (a time series) from the scaling of the renormalized q-moments of the distribution/ ~ r^[qH(q)]The value of H(q) give indication about the fractal nature of the signal. H(q) = 0.5 corresponds to a Brownian...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (65): Generalized Hurst exponent Download |
1 Introduction PLS-DA for data analysis in chemistry and OMICS studies. Also included in this package are 3 variable selection methods: 1) target projection (TP) 2) competitive adaptive reweighted sampling (CARS) 3) subwindow permutation analysis (SPA). SPA is based on model pupulation analysis...
Platforms: Matlab
License: Freeware | Size: 768 KB | Download (51): partial least squares-discriminant analysis and variable selection for high dimensional data Download |
This script provides the final interval of uncertainty in which the minima of single variable non linear/linear function. The function should be unimodal in the interval. The script checks the unimodality of the function.User inputs the initial interval and the number of iterations. depending...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Fibonacci Search metho Download |
This script is similar to fullfact, however instead of number of levels, value of levels are required as inputusage: des_mat = full_fact([-1 1],[100 200 300],[1:4]); arguments: (input) x1,x2, x3- variable levels either in row or column vector. These are not number of levels but the levels itself...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): Full factorial Download |
My program allows users to choose which variable they want to solve for. USES SYMBOLIC TOOLBOX CREATED IN MATLAB 6.1they are asked to provide the other two.this is the Beta-Theta-Mach relation for oblique shock waves.note: solving for theta will result in a precise answerwhile solving for Mach...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): oblique shock wave relations Download |
The modele pacemaker VI1 is an non linear ODE of 2 variables,V the potential of membrane cell and I1 a current variable of excitation.dV/dt=P(V,I1,K) dI1/dt=Q(V,I1,K) where K is the cardiac vector parameters of dim 8.All the polynomials P and Q are rational coefficients with commun divisor C and...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): Simulink Application Of Modele Pacemaker VI1 Download |
Calculate minimum of single variable function using 3-point searchUsage:estimated_min=three_point(sfun,a,b,tolerance) sfun: Symbolic/String function a: Inferior Limit b: Superior Limit tolerance: Tolerance Range
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): Simple three-point minimum estimation Download |
Sigmoid creates a Sigmoid function using parameters in PARAMS and the variable range. V = SIGMOID(PARAMS,RANGE) PARAMS: a 3-vector, the entries of which are (in this order): amplitude value phase slope
Platforms: Matlab
License: Freeware | Size: 40.96 KB | Download (44): sigmoid Download |
Routine accepts input variables, binary target variable (0/1) and a small number of training parameters, and returns discovered coefficients for a single neuron.Technical details:Learning rule: incremental delta ruleLearning Rate: constantTransfer function: logisticExemplar presentation order:...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (51): DeltaRule Download |
these two functions define and undefine variable constants like the #definepreprocessor command in C.No global variables are used.Tested on R2006bSee help for each file
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Define/Undefine Constants Download |
static_DBConnect establishes MySQL database server connections and stores the database access handle in a static variable so it can be reused by different objects of the class.Functions for executing queries and retrieving results are also provided.
Platforms: PHP
License: Freeware | Size: 10 KB | Download (42): static_DBConnect Download |