There are several examples on this topic using Phased Array System Toolbox here
For a good introduction on the topic, Krim have a good overview paper
Then of course Van Tree's book
HTH
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!