% Monomial basis functions

clear all;
t=0:0.02:1;
plot(t,t.^0,t,t.^1,t,t.^2,t,t.^3,t,t.^4,t,t.^5, ...
    t,t.^6,t,t.^6,t,t.^8,t,t.^9,t,t.^10,t,t.^11,...
    t,t.^12,t,t.^13,t,t.^14,t,t.^15,t,t.^16,t,t.^17,t,t.^18,t,t.^19);
axis([0 1 0 1.1]);
xlabel('t'); ylabel('t^k'); 
title('Monomial basis functions for k=0,...,19');