Percent Yield
This script is the same as InverseExtend, except it uses a yield for non-local flow of control.It iterates downward through a hierarchy calling a method at each step.Each parent class method *must* be a generator with exactly one yield statement (even if the yield statement never actually gets...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): InverseExtendGenerators Download |
This small contribution is based on the "Percent Rate x total sale price" shipping contribution originally posted by WebyMaster and modified by many. All credit to all who came before!Basically it works like this:> The shipping cost will vary based on the order total amount.> 3 tiers are...
Platforms: Windows, *nix, PHP, BSD
License: Freeware | Download (60): Multiple flat shipping rates based on Order Total Download |
This is the update to the Percent module I put out "Shipping as a percentage of product price v1.0 ". This one allows a shipping amount to be applied to each individual product.As with the other module, I use the weight field to store the shipping amount, so if you use the weight field, you may...
Platforms: Windows, *nix, PHP, BSD
License: Freeware | Download (56): Shipping rate per product Download |
This script contains a function to calculate the percent of requests that were "refused" by Apache server due to the clients ability to read the file from their cache instead. This function can be useful in performance analysis. The percentage of requests for cached files versus non-cached files...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): Apache Client Cache-rate Calculator Download |
function [P R]=Global_Moupfouma(Rzz1,ClimZone)Function implementing the Global Moupfouma model,As per Electronic Letters paper "Point Rainfall rate cumulativedistribution valid at various locations"F. Moupfouma and L. Martin, EL, Vol.29, No.17, Aug. 1993InputsRzz1: Rain rate value exceeded 0.01%...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (50): Global Moupfouma rain CDF prediction model Download |
random_band is the main program and it outputs a test signal which has a constant level. The instanatenous frequency varies randomly within the specified Nth octave band range.The program outputs three plots: time record of the instantaneous frequency, time record of the instantaneous level, and...
Platforms: Matlab
License: Freeware | Size: 30.72 KB | Download (46): Rohde & Schwarz FSQ Signal Analyzers Download |
The program 'Efinder' numerically solves the Schroedinger equation using MATLAB's 'ode45' within a range of energy values. By taking advantage of the dramatic endpoint behavior of the resulting wave solutions, 'Efinder' determines the eigen energies to any accuracy needed.This program has been...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): Eigen Energy Solver for Schroedinger Equation Download |
How can we characterize an image, and does the same characterization yield the same result? In this work, we study one possible characterization, distribution metrics. That is, we assume the desired region of interest has a different probability distribution from its corresponding background....
Platforms: Matlab
License: Freeware | Size: 1.57 MB | Download (52): Active Contours: A New Distribution Metric for Image Segmentation Download |
In order to optimize any MATLAB function, there are two options: 1) rewrite the function to take only 1 array of inputs, reading all others from a file, perhaps, or from a global variable (undesirable), or 2) write an interface layer that handles this.This function provides an interface layer...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Generalized Objective Function Download |
Functions NELSONFUN and NELSONFIT evaluate and fit (with non-linear least-squares) the Nelson-Siegel function, a popular yield-curve approximation device.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): Evaluate Nelson-Siegel function Download |
These files introduce how Symbolic Math Toolboxd-OC?D? can be used to evaluate Nelson Siegel and Svensson models, which are 2 widely used techniques for modeling yield data. We demonstrate how you can define the models in the MuPAD notebook interface and perform some basic analysis and...
Platforms: Matlab
License: Freeware | Size: 307.2 KB | Download (44): Using MATLAB(R) and Symbolic Math Toolbox(TM) to Develop and Analyze Financial Models Download |
An electron gun produces particles with specified rates and random velocities and direction, some of them collide with upper plate that its position and size are defined. This program simulate this process and shows what percent of particles collide with the plate and also show the distribution...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): Montcarllo distribution phenomena Download |
Use this simple, self-contained class definition to obtain quotes and historical data from Yahoo finance.f = stock('f','5y','d);creates a stock object with a current quote and five year history of daily data for the stock symbol 'f' (Ford Motor Company).f.plot;charts the historical data. The...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): Stock Class Download |
Analogous to Matlab trimmean, but trims only the low values. The trim percent applies to the low values only, which is different from the trimmean, where the percent applies to both low and high values, i.e. it is effectively divided by 2 on each end.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (38): lowtrimmean Download |
This function retrieve the student distribution value for a given alpha and degree of freedom value.Inputs: a = can be any alpha value n = number of data pointsOutput: st = value of the student distribution alpha = the alpha value used perc = the corresponding percentageComment: a can be...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Student distribution value Download |
R = RCR(S) computes the semi-edge-length of the mean-centered hypercube with 95% probability given S, which is either a covariance matrix or a vector of standard deviations from a multivariate normal distribution. If S is a real, nonnegative vector, RCR(S) is equivalent to RCR(DIAG(S.^2)). Scalar...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 81.92 KB | Download (41): Rectangular Confidence Regions Download |
Displays the percentage done of a job to the command line interface.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Percent Done Download |
IMSHADE will plot a matrix representing topography as a 3-component color image, with intensity proportional to the magnitude of the topographic slope of each pixel. Optionally, it can take an argument for lighting angle to use the directional slope.The current colormap will be used, but future...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): imshade Download |
FASTGETGRID extracts values and formuals form all worksheets in a Microsoft Office Spreadsheet Object (OWC). It also provides the numerical and the string variables seperatelyUSAGE:>> h = actxcontrol('OWC11.Spreadsheet.11',[0 0 550 420]);>> FastFillGrid(h, ...{'Maturity' ,'4/15/09','' ;...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): FASTGETGRID Download |
Embed/Hide one or more images inside one bigger image (source image).Code also tells how much of the source image you are using for embedding and as long as it's less than 100 percent, you can obviously cramp in more images.Hide n seek!!
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10.08 MB | Download (43): Hide Images In Image Download |