MATLAB Answers

integral length of turbulence

17 views (last 30 days)
H ZETT M
H ZETT M on 23 Aug 2016
Hey guys, I need your help. It is about the integral length of turbulence flow. So we got data from some wind measurement, recorded at 60000Hz. My tutor already told me that we should get something like 0.18 m as result. We got the formula L = 1/*sum(autocorrelation(Data)) I tried to use
L=sum(xcorr(Data)/max(xcorr(Data))); L=L*(1/freq)*meanu/mean(Data.^2);
(I used (1/freq)*mean) to give "L" a unit) I get the correct result of around 0.18 m, but the autocorrelation function is a triangle
So this does not seem to be correct. I tried it also with some other formula which I found around the Internet.
x = [ Data];
x_pad = [x zeros(size(x))];
X = fft(x_pad);
X_psd = abs(X).^2;
r_xx = ifft(X_psd);
r_xxx=r_xx(:,1)
I still get the same result for the integral length, but this time the function is different.
So...I am not sure about this one. Maybe it is correct, just the way the function is shown is weird.
I also tried the regular autcorr thing it matlab, which gave me wrong results (or I have simply no clue how to use it correctly) for the length but a good image
sum((autocorr(Data,length(Data)-1))/freq*meanu)
I hope that somebody can give me an advice or a hint where the problem is.
  1 Comment
Ifigenia Aslanidou
Ifigenia Aslanidou on 27 May 2019
I would also like to know the answer! :)

Sign in to comment.

Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!