steer array towards given angle
asteer = steer(d, a, ph0)
array weights to be scanned (must be row vector)
element spacing in units of lambda
steering angle in degrees (broadside ph0=90)
steered weights (row vector)
steer(d,a,ph0) can be used to steer array towards given angle. multiplies array weights by progressive phase, asteer(n) = a(n) * exp(-j*(n-(N-1)/2)*ps0), for n = 0,1,...,N-1, where ps0 = k*d*cos(ph0), thus, equivalent to scan(a, ps0)
add sample pgm
This function uses the functions scan.