How expand a matrix?
古いコメントを表示
How we can expand matrix A to B? each element of matrix A is equal to sum of each B columns. (step of 3)
A=
[1 5 8 12 7 5 2 1]
to B=
1 3 3 3 3 3 2 1
0 2 3 3 3 2 0 0
0 0 2 3 1 0 0 0
0 0 0 3 0 0 0 0
0 0 0 0 0 0 0 0
4 件のコメント
jgg
2016 年 1 月 22 日
Aren't there a very large number of ways to do this? Is there some specific form you want?
Star Strider
2016 年 1 月 23 日
It seems that it’s constrained to use only {1, 2, 3}. That may be what ‘step of 3’ refers to.
Mori
2016 年 1 月 23 日
Mori
2016 年 1 月 23 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Interpolation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!