random sampling TIME SERIES DATA taking into account the time constraint for a linear regression
1 view (last 30 days)
Show older comments
Hi Everybody!
I have a dataset with time series observations and I need a code that allows me to select a random but ordered sample of data for a given lenght (Chosen by me).
I cannot choose just random observations because I have time series data. So I need to extract randomnly a block of let's say 2 consecutive hours of observations.
Thank you for the help!
0 Comments
Answers (0)
See Also
Categories
Find more on Descriptive Statistics in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!