%HELLO Simple Matlab program. % % Thorsten Hansen 2008-04-22 disp('Hello world!') % type out a string x = 12; % define a variable disp(['A nice number is ' int2str(x) '.']) disp(['A nicer number is ' num2str(pi) '.']) disp('a '' ') % to display a ', use '' % a comment starts with % disp('a %')