<div dir="ltr"><div><div><div>I'm attempting to create a bipolar montage for a grouping of electrodes and am hving trouble figuring out the correct inputs. The setup I have: <br><br>bipolar.labelorg  = {'EEG 030', 'EEG 028', 'EEG 040', 'EEG 020' 'EEG 018' 'EEG 038'}<br>bipolar.labelnew  = {'EEG 030-EEG 028', 'EEG 030-EEG 040', 'EEG 030-EEG 020', 'EEG 028-EEG 018', 'EEG 028-EEG 038'}<br>bipolar.tra       = [<br>  +1 -1  0  0  0  0<br>  +1  0 -1  0  0  0<br>  +1  0  0 -1  0  0<br>   0 +1  0  0 -1  0<br>   0 +1  0  0  0 -1<br>];<br>freq_bipolar = ft_apply_montage(freq_continuous,  );<br><br></div>I'm not sure which inputs ft_apply_montage wants and mostly get this error:<br></div><div>Attempt to reference field of non-structure array.<br><br>Error in ft_apply_montage (line 86)<br>  montage.chantypeorg = repmat({'unknown'}, size(montage.labelorg));<br><br></div><div>I would like to have an output that computes the subtraction of signals for the pairings specified. <br><br></div><div>Any suggests would be greatly appreciated!<br><br></div><div>Thank you,<br></div><div>Daria<br></div></div></div>