In the CD accompanying C. A. Balanis's classical antenna book -- Antenna theory - analysis and design (3rd ed), there are many useful matlab codes. Among them there is one specially for the microstrip antennna. If u cannot reach the code, pls leave your email, I can send the code to u then.
sir, i want matlab code for rectangular patch antenna plotting e plane and h plane polar plots..... i donot posses cd of c.a.balanis text.... plz send this code to my email:vjohnkiran@gmail.com