Dear Marc,
There is a function for that called spm_eeg_crop (Other/Crop).
Vladimir
On Thu, Jun 9, 2011 at 11:42 AM, Marc Guitart- Masip
<[log in to unmask]> wrote:
> Dear Vladimir,
>
> We are trying to remove the
> padding of a TF matrix and unfortunately, hour coding appears not to be
> efficient making the computer to run out of memory.
>
> Is there any spm function to remove the padding? If not, do you have any
> suggestion to make our current code more efficient? I attached the current
> version of the code (4 lines).
>
> Your help will be highly appreciated.
>
> Best wishes,
>
> Marc
|