circstat / circstat-matlab

Matlab Circular Statistics Toolbox
79 stars 41 forks source link

circ_mean gives zero when the input is an array of 'nan' #19

Open xuefei-wang opened 5 years ago

xuefei-wang commented 5 years ago

Current behavior: circ([nan, nan, nan]) --> 0

Expected behavior: --> nan