% Simple for loop structure to compute an array

tic;
for i=1:1:10000;
	d(i) = sin(i);
end
t=toc;
disp(['Time to compute array   ', num2str(t), ' (seconds)'])
