UPDATE: The examples given here are meant to give mathematical insight into how sinc interpolation works. If you actually need to do sinc interpolation, use the interpft function. It does an FFT, pads the FFT with zeros, and does an IFFT. Consequently, it is VERY FAST. Just make sure that the resampled time vector you use has an length that is an integer multiple of your original time vector. Also make sure that it lands on the same points as your original time vector (i.e., it should only add new points between old points). I’ve also created a interpftw that does the same job as interpft but allows you to reconstruct samples from different aliasing windows. Whereas interpft pads the end of the FFT with zeros, interpftw pads both the beginning and the end . In other words, the former is a low-pass filter and the latter is a bandpass filter. If you search Google for sinc interpolation in MATLAB , many pages will reference the sinc_interp exam...
Content suppressed by ://URLFAN, for full article visit source
Vim-LaTeX, Vim 7.0, and the filetype pluginFrom: phaseportrait.blogspot.com
Post Date: 2008-03-05 03:30:00
It’s strange to me that this isn’t better documented. On the other hand, Vim-LaTeX hasn’t been maintained for AGES... If you’re using Vim-LaTeX with Vim 7 or higher, you should make sure you have this somewhere in your .vimrc : " Prevents Vim 7.0 from setting filetype to ’plaintex’ let g:tex_flavor=’latex’ Otherwise, your .tex files will not automatically kick off vim-latex on opening! So, if you’re having problems getting Vim-LaTeX ...
more Because it drives me nuts...From: phaseportrait.blogspot.com
Post Date: 2008-03-12 06:21:00
From xkcd/394 : On a serious note, "kB" is "kilobyte" and "kb" is "kilobit." An uppercase "K" is "Kelvin," and so it should never be paired with either "B" or "b". For most modern machines, a "B"yte is 8 "b"its, but there is NO GOOD REASON to assume this case. The meaning of "kilo" is context-dependent, though it’s computationally convenient to use 1024 rather than the standard 1000 (because computers address things in base-2)....
more Snow Wall in Columbus, Sno-hioFrom: phaseportrait.blogspot.com
Post Date: 2008-03-10 06:54:00
If you didn’t hear, over Friday night and Saturday morning, 20 inches of snow were dumped on Columbus, OH. That made driving a little rough Saturday, but the main roads cleared up substantially Sunday. Nevertheless, nearly every school is closed today and Ohio State sent out an e-mail warning people that parking might be a little hairy today. So, I came to work early this morning not knowing what to expect. After previous big snow weekends, the parking lot would get a little smaller becau...
more