動かしたい変数が2つある際にどのようにすべきか教えていただきたいです。
Show older comments
行列bの値を取り出し、aの行列に代入したいと考えています。
この際に、bの行列は(1323000,1)の行列で、bの行列を(1,1),(1000,1),(2000,1)...(1323000,1)と行の値を変化させながら、ここで取り出した値を
aの行列(1323,1)の(1,1),(2,1),(3,1)...(1323,1)のそれぞれに代入したいと考えています。
つまり
a(1,1) = b(1,1)
a(2,1) = b(1000,1)
a(3,1) = b(2000,1)
・
・
・
a(1323,1) = b(1323000,1)
というように代入したいです。
ご回答頂けると幸いです。よろしくお願いします。
Accepted Answer
More Answers (0)
Categories
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!