Message Boards Message Boards

0
|
1336 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:

Problem with FindPeaks?

FindPeaks behaves very peculiarly in Mathematica 12.1. I use it on a list of non-negative real numbers, and when I pad the beginning with 12 or more zeros, it produces erroneous results. See attached notebook, in which FindPeaks produces the correct result in the first two cases but not in the following two. The last case is also correct.

Is this a known problem? Is there a fix?

Attachments:
POSTED BY: L J A Nilsson
Posted 2 years ago

Looks like a bug that was fixed in later versions. Works fine on "13.0.1 for Mac OS X ARM (64-bit) (January 28, 2022)"

POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract