Matlab simulation for arrays for cochlear implant