Repeat a 2D matrix at multiple places in 5D matrix
1 次查看(过去 30 天)
显示 更早的评论
I have a 5D matrix
A = zeros(5,2,2,2,2)
I have another matrix (2D Matrix)
B = [ 1 6
2 7
3 8
4 0
5 10];
Now I need to evaluate:
A(:, :, 2, :, :) = B;
Its shows an error.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!