Width Length
HTMLBARH(DATA,FILENAME,LABELS,WIDTH) writes DATA out to FILENAME as an HTML fragment that creates a horizontal stacked bar graph labeled with the cell array LABELS. WIDTH scales the bar graph to be so many pixels wide. It returns the full pathname of the file.DATA defaults to "magic(5)". FILENAME...
Platforms: JavaScript
License: Freeware | Size: 10 KB | Download (45): htmlBarh Download |
Validation (password) script checks for a minimum length and invalid characters in a password.It also validates the password comparing the strings from two text boxes.
Platforms: JavaScript
License: Freeware | Size: 102.4 KB | Download (53): Validation (password) Download |
This m-file finds the periodic ACF of all the m-sequences of length 31.In this program m-sequences of length 31 are generated and its periodic Autocorrelation function is plotted.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Autocorrelation function of m-sequence Download |
This function calculates the probability under the normal distribution curve, plots the graph and the area calculated.Normaldistribution calculating the area under a normal distribution curve from -ve infinity upto point x. Input: x : point on the normal distribution curve mean : mean of the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (51): probability distribution function (normal distribution) Download |
This m-file finds and plots the autocorrelation and crosscorrelation function(ACF and CCF) of generated Gold codes of length 31.Crosscorrelations are three valued.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (53): Autocorrelation and Crosscorrelation function of gold sequence Download |
This m-file generates all the m-sequences of length 31.To generate the m-sequence of length 31 we use Primitive polynomial of degree 5.There are three primitive polynomial of degree 5, so there will be 3 different m-sequences of length 31.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): PN Sequence Generation Download |
width = fwhm(x,y)Full-Width at Half-Maximum (FWHM) of the waveform y(x) and its polarity.The FWHM result in 'width' will be in units of 'x'The code was developed by an unknown author.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): fwhm Download |
This m-file generate Gold Sequences of length 31 by taking the modulo-2 sum of two m-sequence generators.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Gold Code Generation Download |
The gradient function in Matlab allows you to compute the slope of a curve along its entire length. But if your curve is a noisy one, then gradient will also be noisy. In this event one might desire to fit a moderately low order polynomial regression model in a sliding window, then differentiate...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Movingslope Download |
A simple (de)compression program using Run Length Encoding.Compression is done that easy:compressedData = rle(originalData);Decompression:originalData = rle(compressedData)
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): RLE de/encoding Download |
This program analyzes the performance of a voltage source inverter with Sinusoidal-pulse-modulated output, under different loading conditions.The inputs are:- The frequency of the output voltage waveform.- The modulation index.- The phase angle of the load.- The frequency of the carrier...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): Voltage Source Inverter with Sinusoidal Pulse Width Modulation Download |
Estimates the signal width of data input, using definition: rho = cumtrapz(t,x.^2)/trapz(t,x.^2)The integration limits go from mean(t)-w/2 and mean(t)+w/2; w is defined as the signal width, and gives the time at which rho % of the signal iscaptured. It is an informal measure of the localization...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (42): signalwidth.m Download |
Takes the data length, window length and window overlap length as inputs and returns the number of windows that will result. Will also return the start samples and end samples of each window if asked.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): Calculate number of windows of data Download |
Transmission line length formula for coaxial cable to an antenna(the velocity factor for coax is approximately 0.66)frequency is in Mhz,length is in feet.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (52): xmitlnlength Download |
The PRBS are based on 3 to 9 bits memory delays and put out 2^3 -1 to 2^9 -1 binary sequence length. Usage: these generators can be used in process identification as noise source on command signal
Platforms: Matlab
License: Freeware | Size: 40.96 KB | Download (43): Simulink pseudo-random binary sequence generators Download |
A command-line peak fitting program for time-series signals, written as a self-contained Matlab function in a single m-file. Uses an non-linear optimization algorithm to decompose a complex, overlapping-peak signal into its component parts. The objective is to determine whether your signal can be...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Peak Fitter Download |
Normally boxplot plots the whiskers with a maximum length based on the distance between the 25th and 75th percentile. This script uses boxplot but plots the whiskers for a specified percentile and only plots the outliers beyond the new whiskers.Note that the percentile is defined as the data...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Box Plot with Whiskers Plotted at Fixed Percentiles Download |
You have to give it the coordinates of the ends, number of coils, natural length and radius and it gives to you the (xs,ys) coordinates of the spring points, ready to use it with plot(). The picture shows an instant image of an animation of two coupled-pendulums oscillating Type for usage. Don't...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Spring() To plot and animate a 2D-Spring Download |
In the program, an example from the field of nonlinear chemical dynamics is presented. Governing equation and reaction scheme can be found in G. Nicolis, Dynamique Chimique, Thermodynamique, cindoTetique et mdoTecanique statistique, Dunod, Paris 2005. We use the arc length continuation method to...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (58): Screenshot Application of the arc length continuation method in nonlinear chemical dynamics Download |
This code reads EEG data of specified length from a specified 'bdf' file. It is easier to use than traditional bdf readers and does not output some unnecessary (from author's point of view) information, such as sampling frequency for EACH EEG channel. All EEG channels are assumed as sampled at...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): EEG bdf reader Download |