
MATLAB, for an engineer it's an indispensable resource, extremely useful and fun to use.
But there are also some cool tricks that are rarely known and fun to implement.
1.Batman Equation Curve in MATLAB
here is a code "xr = linspace(-7,7,1500);
yr = linspace(4.5,-4.5,1500);
x = repmat( xr , [ numel(yr) 1 ] );
y = repmat( yr' , [ 1 numel(xr) ] );
batman = (((x/7).^2.*sqrt(abs(abs(x)-3)./(abs(x)-3))+((y/3).^2) .* ...
...