function y = central_cross(x)
[a b]=size(x);
x((1+a)/2,:)=[];
x(:,(1+a)/2)=[];
y=x
end
Extract leading non-zero digit
1213 Solvers
How long is the longest prime diagonal?
342 Solvers
257 Solvers
Find the index of n in magic(n)
163 Solvers
What is Sum Of all elements of Matrix
298 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!