Time windows and time shift in an array of data

1 Ansicht (letzte 30 Tage)
aa
aa am 15 Aug. 2020
Kommentiert: aa am 15 Aug. 2020
I have an array of data [1:120] and want to calculate sum of the elements in diffrent time windows and diffrent time shifts. For example, in case of 1 hour shift we have different time windows. [1,1], [1,2],[1,3],[1,4]..... [1,120] (here first element represent the tiem shift and second represent the length of time window).
the output (u) will be used in the formula
b=((u-(r).*(dt)./std
here r is fixed (say r=0.3333), std is fixed (say std=0.54644) dt is vary with the length of time winodw if length is 1 then dt=1 and so on.
May someone help me here...
Thank you
  2 Kommentare
Walter Roberson
Walter Roberson am 15 Aug. 2020
what is the difference between this and https://www.mathworks.com/matlabcentral/answers/579843-use-of-different-time-windows-and-time-shift?s_tid=prof_contriblnk
aa
aa am 15 Aug. 2020
both are almost same but earlier answer not work

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by