What is the function of the following program. A=magic(10); sizeA= size(A,1); for i=1: sizeA j=i; A(i,j)=0; A(i, sizeA-j+1)=0;
1 次查看(过去 30 天)
显示 更早的评论
What is the function of the following program. A=magic(10); sizeA= size(A,1); for i=1: sizeA j=i; A(i,j)=0; A(i, sizeA-j+1)=0;
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!