introduction: the selection of suitable beam angles and weights in external-beam radiotherapy is at present generally based upon the experience of the planner. therefore, automated selection of beam angles and weights in forward-planned radiotherapy will be beneficial. material and methods: in this work, an efficient method is presented within the matlab environment to investigate how to improv...