function y = central_cross(x)
[a b]=size(x);
x((1+a)/2,:)=[];
x(:,(1+a)/2)=[];
y=x
end
274 Solvers
979 Solvers
Sum the elements in either diagonal of a square matrix
181 Solvers
165 Solvers
2229 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!