-
1 Comment
Sankari Narne
on 18 Feb 2020
function m = magic_sum(n)
x = magic(n);
y = sum(x);
m= randsample(y,1);
end
why it is wrong?
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!