Selecting sequence of data of column vector
1 次查看(过去 30 天)
显示 更早的评论
I've got a column vector with length 5000, each row containing a binary results (0 or 1). I need to calculate the sum of the 1st, 6st, 11th, 16th, ... but I don't know how to select those 1st, 6st, 11th, ... datapoints. Can someone help me? Thanks!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!