Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

DSP System Toolbox Minimum block with external inputs for minimization searching range

조회 수: 1 (최근 30일)
Dave Lee
Dave Lee 2020년 2월 20일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi,
I am using this block https://www.mathworks.com/help/dsp/ref/minimum.html to calculate the index corresponding to the minimum value of a vector in real-time i.e. every time step, it calculates the index. This is going to be in embedded hardware. I'd like to ask if there is an option or some other block that I can search with a specific range that is an external input. Such as my vector size is 10, and I want to do minimization only from index 2 to 6 with 2 and 6 are two external inputs. An option I can see is set the elements for the range that I am not interested in to be the max value of the datatype. However, I think it is not fail-proof.
Thanks,
Dave

답변 (0개)

이 질문은 마감되었습니다.

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by