MATLAB is an actively used programming language created in 1984.

35Years Old 2,655,283Users 32,291Jobs

Example code from the Hello World Collection:

% Hello World in MATLAB.

disp('Hello World');

Example code from Linguist:

function [ d, d_mean, d_std ] = normalize( d )
    d_mean = mean(d);
    d = d - repmat(d_mean, size(d,1), 1);
    d_std = std(d);
    d = d./ repmat(d_std, size(d,1), 1);
end

Example code from Wikipedia:

[X,Y] = meshgrid(-10:0.25:10,-10:0.25:10);
f = sinc(sqrt((X/pi).^2+(Y/pi).^2));
surf(X,Y,f);
axis([-10 10 -10 10 -0.3 1])
xlabel('{\bfx}')
ylabel('{\bfy}')
zlabel('{\bfsinc} ({\bfR})')
Edit

Last updated February 11th, 2019