plot_beam() displays the learning curve and directivity pattern for evaluating
the performance of an adaptive array (beam former). plot_beam() takes as input
the mean square error vector (returned by update_ipwin()), the adaptive filter
coefficients vector , the array distance vector , the radian frequency ,
and the product term , and returns after rendering the graphs. If
the last input argument is given and equals to one, only the directivity pattern
is plotted. The variables of plot_beam() are summarized below.
Input variables:
E : mean square error
w : filter coefficients vector
L : vector containing distances between array elements
Wo : sampled radian frequency
cT : product of propagation speed * sampling period
lc : if 1 will plot the directivity pattern only.
|