• Remix
  • Share
  • New Entry

on 20 Oct 2021
  • 3
  • 180
  • 1
  • 0
  • 275
%% The "L" is an old, OLD matlab logo: https://blogs.mathworks.com/cleve/2014/12/01/mathworks-logo-part-five-evolution-of-the-logo/
% Get current logo stored as image
logo;
m=@()frame2im(getframe(gcf));
X=m();
% Setup external calls and constants
n=@(x)read(py.os.popen(x));
z=400;
% Get old, OLD logo loaded
n('wget i.imgur.com/Czd1YXL.jpeg -O b');
g=uint8(str2num(char(n('djpeg -gr b | od -An -w1 -tu1 -v'))));
q=reshape(g(16:end),z,z)';
% Load second image
imagesc(peaks);
Y=m();
% Show logo
imshow(X);
hold;
Current plot held
% Show "Peaks"
h=imshow(Y(1:400,1:400,:));
% Set alpha mask to old Logo Image
set(h,'AlphaData',225-q);
% The "L" is an old, OLD matlab logo: https://blogs.mathworks.com/cleve/2014/12/01/mathworks-logo-part-five-evolution-of-the-logo/
Remix Tree