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 view (last 30 days)
Show older comments
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 Comments
Answers (1)
See Also
Categories
Find more on Migrate GUIDE Apps 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!