write a code using MATLAB to calculate recall and precision and then plot a graph on these values.
Afficher commentaires plus anciens
R=[10,7,3,2,5,1,8,6,4,9]
R =
10 7 3 2 5 1 8 6 4 9
V=[1,2,10]
V =
1 2 10
intersection (R,V)
??? Undefined function or method 'intersection' for input arguments of type 'double'.
intersect (R,V)
ans =
1 2 10
[s index]= intersect(R,V)
s =
1 2 10
index =
6 4 1
% run a loop 3 times
size(index,2)
ans =
3
length(index)
ans =
3
1 commentaire
James Tursa
le 26 Mai 2015
It isn't clear what you want done or what you are having problems with. Please read this:
Réponses (0)
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!