random resampling with rebalancement
4 views (last 30 days)
Show older comments
I have an array Y (3000*1) from which i want to drow an n=100 random samples with rebalancement(with repeating possible), such that each sample contains 252 consecutive values from Y (i.e only the starting point is randomly chosen) the reslut dimensions are meant to be 252*100
Thank you for helping with this
regards
2 Comments
Oleg Komarov
on 6 Aug 2012
what if I pick the 2999 value? Should I continue in a circular way, i.e.
2999, 3000, 1, 2 ...
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Creating and Concatenating Matrices 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!