<div dir="ltr"><p style="margin:0px;font-size:11px;font-family:Menlo">Hi all,</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">not sure if anyone else has noticed this before. The specxy_anal routine returns maximum frequency values that are less that the 0.5 that it should return. (The documentation says the last entry of the spectrum is for frequency 0.5) This doesn't seem like the desired behavior. Or maybe it is?</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">Here is a 4 line script that reproduces the issue:</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">a = fspan(1,100,101)</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">b = fspan(101,200,101)</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">dof = specxy_anal(a,b,0,3,0.1)<br></p>
<p style="margin:0px;font-size:11px;font-family:Menlo">printMinMax(dof@frq,1)<br></p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">Output: </p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p>
<p style="margin:0px;font-size:11px;font-family:Menlo">(0) </p>
<p style="margin:0px;font-size:11px;font-family:Menlo">(0) min=0.00990099 max=0.49505</p><div><br></div><div><br></div><div><br></div><div>Maria</div></div>