How to select bounding box randomly ?
1 次查看(过去 30 天)
显示 更早的评论
Hi, I have 2000 bounding boxes and I want to select 1000 boxes randomly. How to do it in MATLAB? Please help me.
0 个评论
回答(2 个)
the cyclist
2014-5-22
Do you have the Statistics Toolbox? The randsample() command sounds like something that would be useful. If not, probably the randi() command would help you.
[You might want to add a bit more detail to your question, regarding how your bounding boxes are stored in variables, etc.]
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!