upsample matlab.. for inspiration