% Roger's Bag of Magic Tricks % All files by Roger McNichols % Texas A&M University % % % General Interest % % linreg - linear regression for vectors or matrices % sinc - sin(x)/x for a vector or matrix % rdft - Roger's slow DFT routine % rdft2 - Rogers slow 2-D DFT routine % efdiff - explicit formulation forward difference PDE solver % % % Wavelet Transforms % % wavewin - Windowing function for the wavelet transform % wavelet - Wavelet transform of a function % % % Spectrum Operations % % smooth - performs n-point smoothing on spectra % ddif - double differentation of spectra (among other things...) % * See also: diff % lorentz - creates a lorentzian band of unit area and specified % bandwidth, centered at lambda % gauss2 - creates a gaussian window to user specs % ndiff - differentiates n times saving constants for reconstruction % denoise - a unique way of cleaning spectra % % Fuzzy Control/Simulation % % flsim - lsim but using feedback with fuzzy rule-base % fltitr - external kernal function for flsim % URUL1 - Sample fuzzy logic controller % % Electromagnetic Stuff % % incoil - allows user to draw coil for field analysis % outcoil - displays the above coil % bcoil - calculates and plots the magnetic field produced % by a specified coil pattern % % Miscellaneous/Zany % % airy - creates and airy disk [(J1(r)/r)^2] over a specified domain % phallus - constructs a uniquie 3-D plot % f - a short-cut for typing figure(n) % shg - exactly what it should be! % shit - makes you feel better % fuck - does what it used to do % moron - turns on the MORE filter % % % That's all Folks!