function n_comlex=nAlGaAs(x, lambda) [n,k]=nkAlGaAs(x, lambda); n_comlex=n+i*k;