Start with ‘rddata.m’ and ‘Rdetection.m’