Software Listing of Author : "Hongxue Cai"
- DFT on a specified frequency
- License: Freeware
- Price: 0.00


Compute the discrete Fourier transform at specified frequencies, not using fft. Why one may need this? (1) MATLAB fft function computes the amplitude of signals only (no phase). (2) Once having the recorded time-series data, one often uses fft to do the spectral analysis. However, the frequency set at which you do the fft may not contain the specified frequency of interest. For example, when we use two primary tones (f1, f2) to stimulate the ear, we are interest in comptuting the distortion product at frequency of 2f1-f2. This frequency may not be inculuded in the frequency set for the fft analysis
- Publisher: Hongxue Cai
- Date Released: 17-02-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Figure Digitizer
- License: Freeware
- Price: 0.00


This function digitizes curves in a figure, e.g. an image save form a PDF file, plots and displays the data. % figure digitizer % % Use: 1. Input image to be digitized, e.g. test.jpg. You can type the % name of the image in the editable text field, or push "Browse" % button to browse the file. % 2. Digitize left x, by pushing "Digi x1," and enter corresponding % value for x1. % 3. Similarly for x2, y1, y2. % 4. Digitize x & y along a curve, press "Return" when done. % 5. x & y will be plotted and displayed. % % Note: x & y axis can be linear or log % % Tips: How to save a jpg image file from a figure in a PDF file % 1. open the PDF file using Adobe Reader 7.07 (Free on the WEB) % 2. select the figure using the Snapshot tool of Adobe Reader % 3. File -> print % 4. "Selected graphic" in "print range," "Fit to printer margins" % for...
- Publisher: Hongxue Cai
- Date Released: 06-04-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- GUI for manipulating data in a figure
- License: Freeware
- Price: 0.00


GUI to move a selected data point upward or downward by a user-defined amount % Input: nfig -- the number of the figure % Use: 1. push the "Select" button % 2. move the mouse unto th figure to select a data point to be % moved % 3. push "Up" or "Down" button to move the data point % 4. push "Undo" button to cancel the previous move % 5. change the delty if needed % % Note: This function is not to be used against the rule "data is data"; rather, it is to help one % to plot data correctly, e.g. when plotting phase vs frequency in % spectrum analysis, one may need to move some phase data by 360, % 2*pi, or 1 depending on the unit of the phase is degree, radian or % period. % % These codes are also a good example of GUI development
- Publisher: Hongxue Cai
- Date Released: 27-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts