Info
此问题已关闭。 请重新打开它进行编辑或回答。
DSP System Toolbox Minimum block with external inputs for minimization searching range
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!