Skip to content

Errors in diffeomorphing #5

@MauraSimio

Description

@MauraSimio

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions