Hi, I'm learning Matlab along with linear algebra and I ran the code below.
for n=3:10 r(n) = rank(magic(n));end
And my r resulted in:
r = 0 0 3 3 5 5 7 3 9 7
Please why are the first two elements 0?
MATLABmatrixvectors
for n=3:10 r(n) = rank(magic(n));end
r = 0 0 3 3 5 5 7 3 9 7
Best Answer