i am working on a serial data and need to convert it from serial to parallel data.i have a matrix of 7500 x 1, and i need to divide it into 10 individual matrices of 750 x 1.
4 ビュー (過去 30 日間)
表示 古いコメント
i can use reshape and vec2mat.but it convert it into one matrix of 750 x 10
採用された回答
Stephen23
2017 年 9 月 2 日
編集済み: Stephen23
2017 年 9 月 2 日
C = mat2cell(V,750*ones(10,1),1)
C = num2cell(reshape(V,[],10),1)
Do NOT try to automatically create matrices in the workspace: read this to know why:
3 件のコメント
Image Analyst
2017 年 9 月 2 日
In an above comment, he said "i am looking for some for loops" so I'm guessing that a for loop is what was specified in a homework problem - he just didn't tag it as homework.
その他の回答 (0 件)
参考
カテゴリ
Find more on Matrix Indexing 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!