Quadratic Function Examples
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 (52): 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 (55): 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 (53): 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 |
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 (40): 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 (50): 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 (38): 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 (48): Q function Download |
GloptiPoly is a MATLAB/SeDuMi add-on to build and solve convex linear matrix inequality (LMI) relaxations of the (generally non-convex) global optimization problem of minimizing a multivariablepolynomial function subject to polynomial inequality, equality or integer constraints.The software...
Platforms: Matlab
License: Freeware | Size: 40.96 KB | Download (40): GloptiPoly Download |
This code solves the economic dispatch by quadratic programming.Monotonic quadratic Fuel cost equations with Bmn coefficients is considered this model.
Platforms: Matlab
License: Freeware | Size: 30.72 KB | Download (41): Economic dispatch by quadratic programming Download |
Complete description of this function is provided in a PDF file. Two examples will help you to use this function for either base excitation load (earthquake) or time-variant forces on DOFs.There is a new feature in this function which will let you limit modal analysis only to desired number of...
Platforms: Matlab
License: Freeware | Size: 368.64 KB | Download (41): Modal TIme History Analysis of Structures Download |
MolMass is a function for calculating the molar weight of a substance given in form of a chemical formula.Function call: MM = MolMass(substance)Substance is a string of the chemical formula of a substance.Example: MM = MolMass('Fe2(SO4)3');Substance can also be a vector of substances opened by...
Platforms: Matlab
License: Freeware | Size: 102.4 KB | Download (46): Molecular Weight Calculator Function Download |
After publishing my new block simulink library Function Square,Y output ,and Xput i shoz lineqrity chqnging input vqlue.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): Linearity Of Block Function Square Simulink Download |
Designing a Controller and obtaining the Controller Function by rootlocuse method
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (40): Controller Design and obtaining the Controller Function by rootlocuse method Download |
MATLAB is a software environment and programming language used to generate signals, make measurements, configure and control instruments, analyze and visualize data, and build test systems.MATLAB supports Agilent pulse function arbitrary noise generators through the Instrument Control Toolbox....
Platforms: Matlab
License: Freeware | Size: 512 KB | Download (42): Agilent 81150A Pulse Function Arbitrary Noise Generator - Driver Download |
Matlab Toolbox for Submodular Function Optimization (v 2.0)By Andreas Krause (krausea@gmail.com).Slides, videos and detailed references available at http://www.submodularity.orgTested in MATLAB 7.0.1 (R14), 7.2.0 (R2006a), 7.4.0 (R2007a, MAC), 7.9.0 (MAC)This toolbox provides functions for...
Platforms: Matlab
License: Freeware | Size: 266.24 KB | Download (40): Submodular Function Optimization 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 (40): Discrete Transfer Function Identification of a Motor Download |