22 lines
328 B
Plaintext
22 lines
328 B
Plaintext
|
function resultats = recherche_simplifiee(identifiants, bdd)
|
||
|
|
||
|
songs = [];
|
||
|
|
||
|
for i = 1:length(identifiants)
|
||
|
|
||
|
if isKey(map,keys(i))
|
||
|
|
||
|
entry = bdd(identifiants(i));
|
||
|
if length(entry) == 0
|
||
|
continue;
|
||
|
end
|
||
|
|
||
|
songs = [ songs ; entry(:, 1) ];
|
||
|
|
||
|
end
|
||
|
|
||
|
songs
|
||
|
|
||
|
end
|
||
|
|