Forum Discussion
Altera_Forum
Honored Contributor
10 years agoHow to tell Matlab where my DSP blockset is located? If I should do it manually what is the sense of Fixed-Point toolbox?
The objective of this KWTA circuit is to show K biggest signals (numbers) among N. So if K=4, and N=7, just 4 signals should be above the 0 level, so what is the sense to transform to logic signals as the analog show the real decrease of signal. If so -- how to group them? And I could dsiplay not in one Scope but I should identify this signals-- maybe I could do it by some marker -- 3-bit number (8 signals) -- and then show they are above the 0 level. Anyway the final task is to sort this signal in decresing order, so at first palce will be biggset signal, then 2nd biggest and so on.. But in theory I should do it converting the K biggest signals to 1, and other to 0, then by substracting the K from K+1 and I will be get this K+1 sorted number. Even in Simulink this comparator should compare with 0, so it turns the logical function. So how then to group it?