There are two processes described in the ARRL Antenna Book (as well as lots of other places).
The first method is to measure the impedance of an element, with the other elements open, and then shorting one of the other elements at a time.
Some spreadsheets are available to help with the calculations:
2 elements (drive2.xls 75 kB)