How to compute fft of the rat's licking time?
1 回表示 (過去 30 日間)
古いコメントを表示
I have data which measures the time when a rat licks a sugar water. When I computer the inter lick interval (ILI), sometimes I see that ILI is less than 40 miliseconds which I don't think a rat can lick this fast, and I am assuming this is coming from a noise from the sensor. I want use fft in matlab to compute the frequency of my licking signal. What all I have is the time when the rat has licked sugar water. Can somebody please tell me how I can compute the frequency of my signal.
0 件のコメント
回答 (2 件)
Star Strider
2016 年 6 月 7 日
That has to be the most interesting biomedical signal processing problem I’ve ever read on MATLAB Answers!
If you attach your data (use the ’paperclip’ icon, and do everything it tells you to do), I’ll see what I can do to process it. I realise it’s your research, but I find your study absolutely fascinating!
0 件のコメント
Jeremy
2016 年 6 月 14 日
There has to be good a joke there somewhere...
So your data is a set of timestamps when rat licks? Is this coming from a pressure sensor or accelerometer on the bottle? To use FFT you will need to have some signal that is sampled at regular intervals. If you really do just have timestamps that could be turned into a time history by making all times 0 when the rat is not licking and 1 when it is. This may not give you a very clean spectra, but certainly worth a try. Have you tried a historgram of the intervals?
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Spectral Measurements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!