function y = central_cross(x)
[a b]=size(x);
x((1+a)/2,:)=[];
x(:,(1+a)/2)=[];
y=x
end
Remove the two elements next to NaN value
426 Solvers
Set some matrix elements to zero
300 Solvers
264 Solvers
193 Solvers
563 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!