<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:DengXian;}
.MsoChpDefault
{mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=ZH-CN link=blue vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>Hello fieldtripers: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>When I calculated Phase – Amplitude – Coupling, I chose 3-8Hz as phase frequency. And codes for filtering are:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'> cfg = [];<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'> cfg.showcallinfo = 'no';<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'> cfg.bpfilter = 'yes';<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'> cfg.bpfreq = [phase_freq-1 phase_freq+1]; <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'> cfg.hilbert = 'angle';<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'> [virtsens_phase] = ft_preprocessing(cfg, virtsens_p);<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>But, there is an error:<o:p></o:p></span></p><p class=MsoNormal style='text-indent:13.5pt'><span lang=EN-US style='font-size:12.0pt'>‘Calculated filter coefficients have poles on or outside the unit circle and will not be stable. Try a higher cutoff frequency or a<o:p></o:p></span></p><p class=MsoNormal style='text-indent:13.5pt'><span lang=EN-US style='font-size:12.0pt'>different type/order of filter.’<o:p></o:p></span></p><p class=MsoNormal style='text-indent:13.5pt'><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>I don’t know how to change my codes. I’m very appreciate that if anybody can help me here.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>Best regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>Emily<o:p></o:p></span></p></div></body></html>