magic
M = magic(n)returns an n-by-n matrix built from the integers with equal row and column sums- n must be a scalar ≥ 3
- Every row and column sums to
- The class of M is
double
M = magic(n) returns an n-by-n matrix built from the integers with equal row and column sums
double