How can determine the sampling frequency from a time series data?
조회 수: 10 (최근 30일)
이전 댓글 표시
i need the sampling frequenccy of a give time series data. it is a 1x31225 time data if i choose any two point say x(:,1) and x(:,2)
1/x(:,2)-x(:,1) does not give a likely sampling frequency, it gives about 0.2144 for instance. please help out
댓글 수: 0
채택된 답변
Star Strider
2012년 8월 21일
편집: Star Strider
2012년 8월 21일
All may not be lost. When I searched for information on .sif files, I came up with a number of different definitions, including Andor Scan Information File (there are at least two TMW File Exchange entries for those), and Cytoscape Simple Interaction Format. (They are also Windows Setup Information Files, but those likely aren't the ones you are interested in.)
What generated your .sif file, and what does it contain? How many rows and columns should it have? If it is supposed to be a matrix rather than a vector, it may be possible to get the time data (if there is a time vector in the matrix) by doing reshape on it.
댓글 수: 0
추가 답변 (1개)
Azzi Abdelmalek
2012년 8월 21일
if x(:,1) is time and x(:,2) is your signal
then, if the sample frequency is constante
f=1/((x(2,1)-x(1,1))
댓글 수: 5
Azzi Abdelmalek
2012년 10월 19일
Without a vector time, we can't find your sample frequency. I can't guess what happens to your file.
참고 항목
카테고리
Help Center 및 File Exchange에서 Large Files and Big Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!