Convert vector to matrix
显示 更早的评论
How can I convert a vector of 30482x1 (it is the accumulated of 4 measurements of 17 min at 8 hz) to a matrix that has columns of 8160 data.
3 个评论
30482 does not divide evenly into 8160,
30482/8160
so your intended rule for reorganizing this data is not clear.
Fangjun Jiang
2022-7-26
reshape()
dpb
2022-7-26
On top of which, given the statement that "it is ... 4 measurements of 17 min at 8 hz)"
>> mod(30482,4)
ans =
2
>>
so the list isn't a complete set of four.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!