Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Problem with block "Local Maxima"

1 回表示 (過去 30 日間)
Vasilis
Vasilis 2014 年 10 月 22 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi. I have a 128 x 1 input in block 'Local maxima'. I want to take as an output, the 4 maximum values of an input. I set: Maximum number of local maxima: 4 and Neighborhood size: [1 1]. I expect to take an 2x4 matrix each has in the first row the values i want. However, this block outputs 2 matrices with size 2x4. Why it happends?
EDIT: I use the 'simout' to spectate the output of block 'Local maxima'.
Thanks in advance!

回答 (0 件)

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by