Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
一部の「ビッグデータ」処理用。プロットすると、データはサイン波のようですが、ランダムなピークがあります。(したがって、各マトリックス位置の値をその位置に対してプロットすることを想像してください)
ピークを見つける方法は知っていますが、ピークの両側の極小値とマトリックス内の位置を見つける方法が必要です。たとえば、データが次の場合:
3 2 1 0 1 2 3 7 -4 -5 -6 -5 -4 0
私が必要とする関数は次のようなものを返します: min,loc = [0, -6; 4、11]