Search
New Code
GetOrgChart 2.5.3
AnyGantt JS Gantt Charts 8.6.0
AnyChart JS Charts and Dashboards 8.6.0
Multi Vendor Ecommerce Script & Apps 4.0
Magento 2 Inventory Management Extension 1.0
Yipit Clone Script - Daily Deals Software 1.0.2
Devart Excel Add-in for Oracle 1.7
Devart Excel Add-in for Freshdesk 1.7
Devart Excel Add-in for G Suite 1.7
C# QR Code Generator 4.0.2.2
Salesforce WordPress Customer Portal 3.2.0
Single Leg MLM 1.2.1
OzGIS 14.6
Quick Maps For Dynamics CRM 3.1
Job Board Software 4.2
Top Code
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
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
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
Code Listing by Adam Wyatt

Code 1-8 of 8   






This function is an adaptation of Matlab's "quad" function to return the cumulative integration of an analytical function.

e.g. compute integral:
I(t) = int(0..t)[1/(tau^3 - 2*tau - 5) d_tau] for t=0..3

[I, t] = cumquad(@(tau) 1./(tau.^3-2*tau-5), 0, 3);

This function is almost identical to the quad.m function (v6 upward) except it returns the integral a..x where x=a..b and the corresponding x...



This script simulates an electromagnetic pulse, a spectral phase interferometry for direct electric field reconstruction (SPIDER) measurement and reconstruction and compares it to the true electric field in time in the presence of noise (additive,...



Computes the Gaussian function in 1D:
exp(-log(2)*(2*(x-x0)./FWHM).^(2*floor(abs(order))));

Where:
x = Co-ordinate
x0 = Centre of function
FWHM = Full Width Half Max of the function
order = Gaussian order



W = mywigner(Ex)

W = output Wigner distribution
Ex = Input electric field (MUST be a column vector

Notes:
W = Int(-inf..inf){E(x+y)E(x-y)exp[2ixy]}
E(x+y) & E(x-y) are calculated via a FFT (fast Fourier...



Computes the nth moment mean of a function (needs more implentation).

m = moment(x, y, n)

m = nth moment of y
x = domain
y = data
n = nth moment == 1 by default

m = int(x^n * y) / int(y)



This simulink model simulates the damped driven pendulum, showing it's chaotic motion.
theta = angle of pendulum
omega = (d/dt)theta = angular velocity
Gamma(t) = gcos(phi) = Force
omega_d = (d/dt) phi
Gamma(t) =...



Calculates a rotated 2D gaussian (cylindrical)

y = gauss2D_R(X, Y, FWHM_x, FWHM_y, theta, order);

X = Matrix of x indices
Y = Matrix of y indices
FWHM_x = FWHM in x dimension
FWHM_y = FWHM in y dimension



This function allows one to calculate the Fourier transform of a chirped function evaluated at specific points using the stationary phase approximation.

Imagine a pulse with a large time-bandwidth produce: this would require a large...