سلام دوستان
من کد زیر می خوام ببرم توی متلب اما اشکال می گیره
ممنون می شم راهنماییم کنید
For c€C do
Dc=0
Bulid vc using term frequencies on segment C
For word w€Vc do
Dc=Dc+|freq(w,v)-freq(w,Vc)|
end for
end for
style =1\|c|∑c€C Dc
for c€C do
if Dc< style-&
mark segment c as outlier and potential plagiarized passage.
End if
End for