how to make a vector circularly simmetric?
1 次查看(过去 30 天)
显示 更早的评论
Hello, I would like to make my vector circulary simmetric. I have something like
A=[1,5,15,50,15,5,1];
And I would like to have a matrix like this:
B=[1,1,1,1,1,1,1;
1,5,5,5,5,5,1;
1,5,15,15,15,5,1;
1,5,15,50,15,5,1;
1,5,15,15,15,5,1
1,5,5,5,5,5,1;
1,1,1,1,1,1,1];
Can someone help me? Thank you in advance
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!