Calculating sampling frequency of a 5 min time stamp of GHI measurements

4 views (last 30 days)
hello, can anyone tell/help me what the sampling frequency is of a 5 min time stamp of a series of GHI measurements? I have data of 1 month.
  3 Comments
Caroline
Caroline on 28 Jun 2019
I mean I have data points every 5min and I need to know how to calculate the sampling frequency of a time series that records data every 5 min.
Caroline
Caroline on 28 Jun 2019
I am using the low pass filter(bilinear transform to filter the data, but I need to know what the sampling frequency is..or how to calculate it.

Sign in to comment.

Accepted Answer

Star Strider
Star Strider on 28 Jun 2019
If the sampling interval is 5 minutes (minutes per sample), the sampling frequency is the inverse of that, or 1/5=0.2 samples/minute.
The Nyquist frequency (the highest uniquely resolvable frequency in a sampled signal) would be half of that, or 0.1 samples/minute.
  5 Comments
Caroline
Caroline on 28 Jun 2019
Edited: Caroline on 28 Jun 2019
%1.filter function in Matlab H(z)=b[]z^-1/a[]z^-1 -> bilinear transform
x = time series data
K=1;
Ts= 5
Fs=1/Ts;
h=6/(2*pi);
B=(2*Fs*h);
b= [K/(1+B) K/(1+B)];
a= [1 (1-B)/(1+B)];
Ffilter1=filter(b,a,x);
So if I design the filter like this then Fs in that case = 0.2?
Star Strider
Star Strider on 28 Jun 2019
Edited: Star Strider on 28 Jun 2019
As always, my pleasure!
EDIT —
So if I design the filter like this then Fs in that case = 0.2?
That is how I would do it. Keep all the current sampling times and time units unchanged.

Sign in to comment.

More Answers (1)

Guillaume
Guillaume on 28 Jun 2019
I need to know how to calculate the sampling frequency of [whatever] that records data every 5 min.
Huh? If you record with a period of 5 min = 300 s, the sampling frequency is the inverse of that so, 1/300 Hz. Not sure what that has to do with matlab.

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!