11 lines
273 B
Matlab
11 lines
273 B
Matlab
## Author: Laurent
|
|
## Created: 2020-11-10
|
|
|
|
function [selection_frequences, selection_alphabet] = selection(frequences, alphabet)
|
|
|
|
indices = find(frequences>0.0).';
|
|
selection_frequences = frequences(indices).';
|
|
selection_alphabet = alphabet(indices);
|
|
|
|
endfunction
|