Splitting a column (and a numerical value in that column) into multiple columns
1 回表示 (過去 30 日間)
古いコメントを表示
Hello, I have a following problem: I have multiple columns in a matrix. In all of the columns I have a numerical value, let's say 20. I need to (under some conditions) split a single column into 5 separate ones, and I need these 5 columns to carry a number which is the original 20 divided by the new number of columns - 5 (so at the end I will have, out of one column with a number 20 in it - five columns with a number 4 in them). Does anyone have an idea how could I do that? Thanks!
採用された回答
Stephen23
2018 年 9 月 28 日
編集済み: Stephen23
2018 年 9 月 28 日
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Characters and Strings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!