The easiest way I found to do it, although probably a cheat way, is to put the radar power mode to EM, use right alt-f5 to lock nearest target and then line up in HUD to the target square and press enter to lock the missle to the target.
This was just through experimenting as I have yet to come across any tutorials so just found the easiest way I could.