x = -10:0.01:1;
ai = airy(x);
bi = airy(2,x);
figure
plot(x,ai,'-b',x,bi,'-r');
axis([-10 1 -0.6 1.4]);
xlabel('x');
legend('Ai(x)','Bi(x)','Location','NorthWest');