How do I create multiple column vectors from one big column vector?
古いコメントを表示
I have two column vectors, objx and objy, both of which contain 20,160 floats. I need to dice it up every 48 iterations to create voronoi figures. There will be 420 voronoi diagrams. How do I go about creating smaller vectors each of which containg 48 floats each to create these voronoi diagrams?
5 件のコメント
Adam Danz
2020 年 3 月 24 日
"...both of which contain 20,160 floats"
What does that mean? Do you have a 20x1 cell array where each element contains 160 numeric values?
Chad
2020 年 3 月 24 日
Adam Danz
2020 年 3 月 24 日
I still don't know what this means: "The cell array is 20,160x1"
Again, it sounds like you're describing a 1x20 or 20x1 cell array where each element of the array contains a 160x1 vector.
Chad
2020 年 3 月 24 日
Adam Danz
2020 年 3 月 24 日
That's clear. The comma in 20,160 threw me off. There's no need to use a comma unless the number of digits is very large.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Voronoi Diagram についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!