For Loops
for n = 1:10 x(n) = sin(n*pi/10); end for n = 1:10 x(n) = sin(n*pi/10); n = 10; end for n = 1:5 for m = 5:-1:1 A(n,m) = n^2 + m^2 end disp(n) end n = 1:10; x = sin(n*pi/10)
While Loops
calc_eps calc_eps2 time_comp loop_vs_vector op_vs_inv