% Coherent sampling calculator for ADC testing
% Signal generator resolution in decimal places after MHz is
% considered to be 6 -- i.e. Resolution is 1 Hz
% See http://www.maxim-ic.com/app-notes/index.mvp/id/3190
% for details --Alper Ucar, ucar {at} ieee {dot} org
% Finc: coherent input frequency of the test signal
% Fs: coherent sampling rate
% Fs: sampling rate
% Fin: input frequency of the test signal
% N: number of samples
function[Fsc,Finc] = csr(Fs,Fin,N)
Wednesday, April 21, 2010
Coherent Sampling Calculator
Tuesday, April 20, 2010
Plotting an Accurate PSD Estimate in MATLAB
% This script plots the power spectral density estimate
% of a signal --Alper Ucar, ucar {at} ieee {dot} org
% data: output stream in time-domain
% fftlen: FFT length
% Fs: sampling rate
% pxf: mean-square power of the signal
function[pxf] = pspec(data,fftlen,Fs)
Labels:
coherent gain,
fft,
hann,
matlab,
window
Wednesday, April 14, 2010
Fix a Corrupt MBR (i.e. after Norton Ghost 2003 messes it up)
1) Boot off the LiveCD
2) Open a terminal and enter
2) Open a terminal and enter
sudo apt-get install lilo3) Reinstall GRUB
sudo lilo -M /dev/sda mbr
Subscribe to:
Posts (Atom)