How can I plot segmented data with time?

3 ビュー (過去 30 日間)
Ifigenia Aslanidou
Ifigenia Aslanidou 2019 年 5 月 25 日
回答済み: Sulaymon Eshkabilov 2019 年 5 月 26 日
Hello everyone!
I have some data collected of the velocity of the wind. The duration is ca. 40s and in order for me to calculate the std and thus the intensity of the wind , I divided the signal into ca. 5 seconds. . (At first I did groups of velocity data of 5 sec,so u_segments would be [8x237568],there are 1900544 measurements of time)
First segment would be the velocties from 0-t1,second t1-t2,and so on. So for each 5s I get an std of the velocity. Std vector is 8x1.
Now I need to plot std - Intensity with time. How can I do it?
Thanks in advance!
  1 件のコメント
dpb
dpb 2019 年 5 月 25 日
First, you must pick a time representative of the averaging -- beginning, middle, end is up to you but once you decide then it should be easy enough to implement.

サインインしてコメントする。

回答 (1 件)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2019 年 5 月 26 日
if you want to use the whole time space of yours, e.g. 0 ... 40 s then you can use a linear interpalation, i.e. interp1.
Good luck.

カテゴリ

Help Center および File ExchangeTime Series についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by