Example Of A Histogram
While working with a histogram we may need to detect a peak or crest of the histogram.But the histogram contains a number of local minima & maxima which makes the histogram extremely uneven.While detecting a peak or crest we are intended to detect the global peak or crest.This code replaces every...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (38): Removal of unevenness of a histogram Download |
Bad Effect Of A Plastic Surgery - Learn more about the potential side effects of plastic surgery at homepage
Platforms: Windows
License: Freeware | Size: 5 MB | Download (52): Bad Effect Of A Plastic Surgery 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 |
It is very fast and simple file to display histogram of a 3D imageimhist3(I,n) n is the number of bins in the histogramimhist3(X,map) X isindexed 3D image and map is colormap map
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): Display histogram of a 3D image 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 |
This script shows a way to generate a list of all strings (in this case, string=list of symbols) of a given alphabet having a specified length by using list comprehensions. Strings (not the 'string' type) are frequently used in computer science; for example numbers are encoded as strings of...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Generating all strings of a given alphabet Download |
n the bottom of a Stefan tube there is a quiescent liquid with a mixture of acetone (component 1) and methanol (component 2). Vapor that evaporates from this pool of liquid diffuses to the top of the tube. Air (component 3) keeps the mole fractions of components 1 and 2 equal to zero. This...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (42): Solution of a Maxwell Stefan Diffusion Problem Download |
This function solves the "forward geodesic problem," which is to compute the endpoint of a geodesic (shortest-distance) path on the ellipsoidal earth, given the start point, a path length, and a starting azimuth.In response to a user request, this function numerically inverts the previously...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): VDISTINV: Find the endpoint of a geodesic on the ellipsoidal earth Download |
This script uses string.index(sub) function which returns a list of indices of ALL occurances of a substring in the string.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Indices of a SubString in a Given String Download |
This script allows you to replaceĀ a portion of a string at a given position.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (59): Replacing a portion of a string Download |
When working with text, it may be necessary to change the indentation level of a block. This code will take a multiline string and add or remove leading spaces to each line so that the indentation level of the block matches some absolute number of spaces.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (60): Changing the indentation of a multi line string Download |
This script uses the Internet Protocol Helper functions on Win32 and helps you to find the MAC adress of a remote computer.
Platforms: Windows, Python,
License: Freeware | Download (56): Get the MAC address of a remote computer Download |
This scripts shows you how to obtain the name of a method or a function from within the running method/function.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): Obtaining the name of a function/method Download |
This simple code calculates the convex hull of a set of 2D points and generates EPS files to visualise them.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Finding the convex hull of a set of 2D points Download |
3D Array Factor of a 4x4 planar array antenna calculated using general formulas and then plotted in 3D format."AB" shows the excitation amplitude of the elements and "AB_phase" shows their phases.Elements are placed on the x and y axis and element factor is ignored. The code can easily be...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (52): 3D Array Factor of a 4x4 planar array antenna Download |
Finding the Fourier transform of a rectangular pulse..filtering the spectrum and regenerating the signal usingthe filtered spectrum is done...at the end Rayleigh theorem is proved by showing that the energy content of both time domain and frequency domain signals are equal..your comments are...
Platforms: Matlab
License: Freeware | Size: 215.04 KB | Download (45): Fourier Analysis of a Rectangular Pulse Download |
It's a function that finds the minimum value of a two variables objective function with a deterministic zero order algorithm: simplex method. The input variables are:-fun: inline function of the objective function-init_point: initial point for the simplex method-step_size: initial dimension of...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Simple example of the Simplex Method Download |
This demo shows how to use MATLAB, Optimization Toolbox, and Genetic Algorithm and Direct Search Toolbox to optimize the design of a double wishbone suspension system.Note: You will need to have the following products installed in order to run this demo: MATLAB, Simulink, Optimization Toolbox,...
Platforms: Matlab
License: Freeware | Size: 2.02 MB | Download (46): Optimization of a Double Wishbone Suspension System Download |
This model simulates the position control of a DC motor. Parameters can be changed from the model properties tag.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (50): Position Control of a DC Motor Download |
The code computes the velocity profile for the vertical laminar flow of a Bingham fluid down a wall. As expected the profile is flat near the surface of the liquid film. In fact, we have a zero velocity gradient only when the shear stress is large enough (superior to tau0). This behaviour is...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (43): Vertical Laminar Flow of a Bingham Fluid down a Wall Download |