Hi,
I am trying to run your code on Matlab to diffeomorph some .jpg files for an fMRI task. However, I get this error
**Index in position 1 is invalid. Array indices must be positive integers or logical
values.
Error in diffeomorphic (line 63)
Im((x1+1):(x1+Psz(1)),(y1+1):(y1+Psz(2)),:)=P;**
Since I am new to Matlab, can you give me a hint on how to make it work?
Thank you so much :)
Hi,
I am trying to run your code on Matlab to diffeomorph some .jpg files for an fMRI task. However, I get this error
**Index in position 1 is invalid. Array indices must be positive integers or logical
values.
Error in diffeomorphic (line 63)
Im((x1+1):(x1+Psz(1)),(y1+1):(y1+Psz(2)),:)=P;**
Since I am new to Matlab, can you give me a hint on how to make it work?
Thank you so much :)