1つの行列を等間隔の列に分割し、それぞれの要素を足し合わせるにはどうしたらよいですか?
Mostrar comentarios más antiguos
A = rand(10 ,1000)
のような10行、1000列の行列 A が存在した時、
B = A(: ,1:100) + A(: ,101:200) + ... + A(: ,901:1000)
となる行列B(10行、100列) を求めるにはどうしたらよいでしょうか。
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre 行列および配列 en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!