Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Australia MyPost shipping For Magento 2 1.0.0
Australia Post eParcel For Magento 1.1.1
Source Control for SQL Server 2.0
Answers phpSoftPro 3.12
Exlcart 2.0
School College ERP 1.3.2
White-label Grocery Delivery App Solution 2.0
Top Code
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Approximated
All | Freeware

Code 1-19 of 19   






Piecewise cubic spline interpolation and approximated calculation of first and second derivative at the interpolation point.



Accepts a function to be approximated, and a list of x coordinates that are endpoints of interpolation intervals. Generates cubic splines matching the values and slopes at the ends of the intervals. Can generate fairly fast C code, or can be used...



For a given matrix of exact values and another matrix of approximated values, the following error types are computed:
- error matrix
- absolute error matrix
- relative error matrix
- absolute relative error matrix
-...



It performs piecewise parabolic interpolation and approximated calculation of first and second derivative at the interpolation point.



This is a fast and non-iterative ellipse fit.
Usage:

A = EllipseDirectFit(XY)

Input: XY(n,2) is the array of coordinates of n points
x(i)=XY(i,1), y(i)=XY(i,2)

Output: A = [a b c d e f]' is the vector...



Dynamical analyses in engineering often require inertial properties of
complex shapes such as polyhedra. The volume, the first moment of volume
and the second moment of volume of a general solid can be computed by

V =...



A circle of radius 0.5 is inscribed inside a square with side length 1.
Script picks N points at random inside the square. It then checks to see if the point is inside the circle and then generates a figure in which the points ''in'' and...



Simulate and visualize three models for aggregated telecommunications traffic with long-range dependence: superposition of renewal processes, infinite source Poisson (M/G/Infinity) model and integrated sum of on-off processes. The simulations...



Impulse response invariant discretization of BICO (Bode's Ideal Cut-Off) transfer function
BICO TF= 1./((s./w0+sqrt((s./w0).^2+1)).^r);
r is a positive real number
IN:
Ts: The sampling period
w0: Cutoff frequency
...



Step response invariant discretization of BICO (Bode's Ideal Cut-Off) transfer function
BICO TF= 1./((s./w0+sqrt((s./w0).^2+1)).^r); r is a positive real number
IN:
Ts: The sampling period
w0: Cutoff frequency
r:...



I had to compute the length of arcs of Earth's meridian. I noticed that there was no analytical solution for this so I wrote this very simple function.

It computes the arc length of an ellipse centered on (0,0) with radius a (along OX)...



Finds a knee point of a curve
Finds a location of "knee" of a curve. Provides a consistent and mathematically justifiable answer when there is no obvious location along the curve where the curve "turns". The function uses...



OSM XML to CSV conversion. POI only, polygons (and polylines, but not recommended) are approximated by centroid. Result is a 3-column table with lon, lat and value (for a particular key to be chosen beforehand).



This is a fast non-iterative ellipse fit, and among fast non-iterative ellipse fits this is the most accurate and robust.

It takes the xy-coordinates of data points, and returns the coefficients of the equation of the ellipse:



fxoptions( S0, X, rd, rf, T, vol, style)

Valuation of European and American call and put options on foreign exchange using Garman-Kohlhagen model.
European option prices are given by an exact formula (Garman-Kohlhagen).



[B, IDX, OUTLIERS] = DELETEOUTLIERS(A, ALPHA, REP)

For input vector A, returns a vector B with outliers (at the significance level alpha) removed. Also, optional output argument idx returns the indices in A of outlier values. Optional...



The Friedman test is a non-parametric statistical test developed by the U.S. economist Milton Friedman. Similar to the parametric repeated measures ANOVA, it is used to detect differences in treatments across multiple test attempts. The procedure...



In statistics, the Kruskald-deOCtWallis one-way analysis of variance by ranks (named after William Kruskal and W. Allen Wallis) is a non-parametric method for testing equality of population medians among groups. It is identical to a one-way...



This module provides dynamic [Log in/Create account][My account][Log out] menu links. Before the user is logged in, only the [Log in/Create account] link is shown(this can be configured as two links: [Login] and [Register]). After the user is...