Function Pointers New
This function can extract a inner function from a class or a function. It may be useful when writing a unit test code.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): Extract a inner function from a class Download |
This script defines a simple but useful class that emulates a function to gracefully permit latent assignment. In other words, you can use the emulating class as a valid function in assignments with the ability to later associate a function to perform the actual operations.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): Function emulation using __call__ Download |
This simple generator function is used to call a function X times per second.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): Call a function/method X times per second Download |
A recursive function to get permutation of a list script allows you to make permutation on a list of objects. The script does not work on repeated items in the list.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (56): A recursive function to get permutation of a list Download |
This script contains two classes that show two styles of function composition. The difference is only when the second function (g) returns a tuple. compose function passes the results of g as a tuple, mcompose treats it as a tuple of args to pass along. Note that extra args provided to...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (54): Function composition Download |
This script contains a function that finds out the gcd(a,b)(great common divisor of a and b) as a linear conbination of a anb b, ax by=gcd(a,b).
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Extended great common divisor function Download |
FreeBASIC is a 32-bit BASIC compiler, with syntax similar to MS-QuickBASIC, that adds new features such as pointers, unsigned data types, inline assembly, object orientation, and many others.Features: - A large number of variable types available - Arrays - BASIC Compatibility - Built-in gfx...
Platforms: Windows, Mac, *nix, C/C++, BSD Solaris
License: Freeware | Download (64): FreeBASIC 0.18.5b Download |
This script allows you to graph any function you enter on the scale of your choice, assuming you use the correct javascript syntax.For example, to use Cos x, use Math.cos(x). Or, for x^2, use Math.pow(x, 2), etc.
Platforms: JavaScript
License: Freeware | Size: 10 KB | Download (48): Function Grapher Script Download |
This simple m-file plots the Soft Handover probability as a function of the Soft Handover Threshold value used in the UTRA Soft Handover Algorithm. The relationship has been dertived by taking the ratio between the Cell area where Soft Handovers are enabled and the total Cell area.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): Soft Handover Probability as a function Download |
VIDEO TUTORIAL: Serial communication (TX and RX) using SERIAL Matlab function. For Bluetooth and RS-232 devices applications. (Narration in Spanish).
Platforms: Matlab
License: Freeware | Size: 5.49 MB | Download (51): VIDEO TUTORIAL: Serial communication (TX and RX) using SERIAL Matlab function 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 |
The zip file contains functions to calculate an Ambiguity Function (XAMB), Upsampled and Interpolated Correlation (XCORRU), and Coherence Function (XCOH). A prefilter can be specified in each function to "sharpen" correlation peaks.XAMB calculates an estimate of the (cross-)ambiguity function. A...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (42): Calculate Ambiguity Function and Utilities Download |
Because of the "erfc" function, the processing time is very small.
Platforms: Matlab
License: Freeware | Size: 102.4 KB | Download (52): Q function Download |
M-files accompanying the webinar titled "New Approaches to Constrained Optimization in MATLAB" held on November 05, 2005These files provide what you need to run the two demos:1) The first demo is a demonstration of bound constrained optimization of non-smooth objective function using GA and also...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): New Approaches to Constrained Optimization in MATLAB Download |
A standard atmosphere function based on the 1976 Standard Atmosphere returns density, speed of sound, temperature, pressure, and viscosity for a given altitude input up to 86km.This function is designed to be useful for those designing and analyzing aircraft and has the following features that...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): STDATMO: Standard Atmosphere Function Download |
CONDOR is a new optimizer whose aim is to find the minimum x* of an objective function F(x) (x is a vector whose dimension is between 1 and 150) using the least number of function evaluations of F(x). It is assumed that the dominant computing cost of the optimization process is the time needed to...
Platforms: Matlab
License: Freeware | Size: 163.84 KB | Download (50): Condor Optimizer Download |
This modification of fminsearch solves an issue with this simplex implementation when the function to minimize is smooth at a high scale, but rough at a low scale, i.e. when plotted with the parameters axis being (?10,10), there is a clear global extremum, but when zoomed (-0.1,0.1), the function...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): fminsearch modifed for higher scale smooth function Download |
Designing a Controller and obtaining the Controller Function by rootlocuse method
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (44): Controller Design and obtaining the Controller Function by rootlocuse method Download |
Basic example for beginners, that shows how to solve the differential equation through S-Function****************DIFFERENTIAL EQ. SOLUTION THROUGH S-FUNCTION*********************************"Instructions for Simulink"*************************1.Goto simulink library browser and expand...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): DIFFERENTIAL EQ. SOLUTION THROUGH S-FUNCTION Download |
Program given here computes the discrete transfer function of a DC motor (Example taken in this case) using pseudo inverse technique. The input and output data for any single input single output system can be used to find out the discrete transfer function of that system.
Platforms: Matlab
License: Freeware | Size: 215.04 KB | Download (44): Discrete Transfer Function Identification of a Motor Download |