<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<p class="MsoNormal" style="margin:0cm;font-size:12pt;font-family:Calibri, sans-serif">
<span lang="EN-US" style="mso-ansi-language:EN-US">Hello,<o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:12pt;font-family:Calibri, sans-serif">
<span lang="EN-US" style="mso-ansi-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:12pt;font-family:Calibri, sans-serif">
<span lang="EN-US" style="mso-ansi-language:EN-US">I am having a strange error. I calculated lcmv beamformer for my
<span style="mso-spacerun:yes"> </span>Neuromag dataset couple of years ago. I ran some beamformer based analysis and now I thought I will redo some part of the analysis.<o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:12pt;font-family:Calibri, sans-serif">
<span lang="EN-US" style="mso-ansi-language:EN-US">I noticed during the rerun of my scripts that the spatial filter calculated for 3 subjects ( out of 20) has a sign flip for 3-5 % of the vertices. After investigating for a week, I found that I get sign flip
 for these vertices when I run the same script with MATLAB 2013b and MATLAB 2017a ( fieldtrip version was same for both runs).<o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:12pt;font-family:Calibri, sans-serif">
<span lang="EN-US" style="mso-ansi-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:12pt;font-family:Calibri, sans-serif">
<span lang="EN-US" style="mso-ansi-language:EN-US">I have attached the figure for one of the vertex of spatial filter with both MATLAB versions.<o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:12pt;font-family:Calibri, sans-serif">
<span lang="EN-US" style="mso-ansi-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:12pt;font-family:Calibri, sans-serif">
<span lang="EN-US" style="mso-ansi-language:EN-US">Now my question is, as this sign flip is affecting my further analysis, I would like to know , how to figure out which one is correct and if anyone has any idea where the error could be coming from.<o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:12pt;font-family:Calibri, sans-serif">
<span lang="EN-US" style="mso-ansi-language:EN-US">Thank you <o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:12pt;font-family:Calibri, sans-serif">
<span lang="EN-US" style="mso-ansi-language:EN-US">Any help would be highly appreciated.<o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:12pt;font-family:Calibri, sans-serif">
<span lang="EN-US" style="mso-ansi-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:12pt;font-family:Calibri, sans-serif">
<span lang="EN-US" style="mso-ansi-language:EN-US">Kind regards<o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:12pt;font-family:Calibri, sans-serif">
<span lang="EN-US" style="mso-ansi-language:EN-US">Bushra Riaz<o:p> </o:p></span></p>
<br>
</div>
</body>
</html>