Similar to contour3 but contours are drawn over any surface.
This may be useful if you wanna add contours to a surface created by surf(x,y,z,v).
Notice that if v = z, is the same as use contour3.
The screenshot was created as:
[x,y,v] = peaks;
% add clabels:
Specify a vecter, a minimum peak separation, and a minimum peak height, and this function will find the peaks.. about 250 times faster than findpeaks would!
Very lean an simple code that automatically finds major peaks, their locations, fwhms and area in a given signal y versus x. Requires no input parameters. The output is a matrix with peaks sorted in rows and following columns:
This function MOUSE3D enables mouse camera control on an certain figure axes.
Enable mouse control with mouse3d(axis-handle) or just mouse3d
Left : Rotate
Right : Zoom
Center : Pan
This color reduction software is based on a new neural network classifier (SGONG). The SGONG network classifier is suitable for color quantization applications, since each image pixel is considered as multidimensional vector, depending on the...
These programmes are not heavily commented but infact are very simple and intutive to understand the Frequency hopping and related tasks.
I have made two files for frequency hopping, one of them is not showing 6 proper impulsive peaks...
Spectr-O-Matic is an object-oriented toolbox for automating basic operations on spectroscopic datasets, such as: load, save and organize spectra, add, subtract, multiply, divide spectra, extract baseline, normalize, calculate derivative, find...
This model simulates three phase inverter. Sawtooth waveform has been used as the carrier. Triplen of level 1/6 of reference were injected in the reference to utilize the maximum DC link voltage. The output voltage range increases by injecting the...
ARCGRIDWRITE converts data in a matlab grid (as produced by eg. meshgrid and griddata) into a text file in Arc ASCII Grid Format. The file can also be automatically converted to raster on PC's with ARCINFO installed.
EXAMPLE - create a...
This is a little script that adds several Gaussian or Lorentzian functions with the appropriate full width at half max and height to generate and plot a spectrum. The input is an array containing frequency vs oscillator strength, desired fwhm of...
JSURF is similar in almost all respects to the standard SURF plot except that it admits a second matrix T of z-coordinates of size [m,n] that is used to plot over the base surface described by coordinates (x,y,z).
This function finds dominant peaks and valleys of an image histogram. Minimum peak distance and averaging filter size can be changed to suit your need.
Although, the function is originally written for mages, there is no reason why this can't...
 real-valued spherical harmonics
using real coefficients
 support flexible band intervals
(l=0:dl:L) including both full band
SH (dl=1) and even order only SH (dl=2)
 evaluate both function...
SPHERE3D plots 3D data on a spherical surface. Useful particularly in metrology of spherical surfaces, spherical wavefronts and wavefields.
SPHERE3D(Zin,theta_min,theta_max,phi_min,phi_max,Rho,meshscale)plots the 3D profile Zin as a...
The PDF plot is for Gaussian components. I am expecting only two peaks corresponding to two Gaussian components. But over the time, there are multiple peaks seen in the plot even if the plot overall looks approximately like a Gaussian curve.
The model simulates three phase inverter with symmetric PWM modulation in which reference is sampled at the positive peak of the carrier and is held constant till the next positive peak of the carrier appears. The model demonstrates symmetric...
This function can be used to get peaks data: number, height,position, area, width and overlap of peaks of a function of spectrum of peaks.X and y are vectors of the function and wp is a scalar.
This is a fully skinnable Spectrum Analyser plugin for Winamp 2.x.
It is finished to the point of being usable but not by any means complete and will continue to be updated.
The Spectrum Analyser features are: Skinnable,...
RANDBLOCK - randomize blocks of a matrix
R = RANDBLOCK(M,S) randomizes the matrix M by dividing M into non-overlapping blocks of the size specified by S, and shuffling these blocks. M can be a N-D matrix.
The number of...
LOCALPEAKS Find local peaks and troughs in a vector
peaks = localpeaks(X)
peaks = localpeaks(X,MODE)
peaks = localpeaks(X) locates the local peaks in vector X.