Hello everyone. I am writing for an error that I am finding in the BEM volume computing for a couple of patients. In my analyzes, I consider only the skull layer and a regular grid with a resolution of 5 mm. For these patients, however, since yesterday I have found the following error that I do not understand what caused it:
Error using bsxfun
Non-singleton dimensions of the two input arrays must match each other.
Error in panel_protocols (line 44)
Error in tree_callbacks>@(h,ev)panel_protocols('TreeHeadModel',bstNodes) (line 2503)
gui_component('MenuItem', jPopup, , 'Compute head model', IconLoader.ICON_HEADMODEL, ,
Specifically, I had already calculated a BEM volume for the second subject so I don't know what changed. I am also attaching a small dataset on which to test the problem encountered.
Thank you very much for your help,