cosine similarity between two words

a='apple'
and
b='applet'
how to find the cosine similarity between these two words.

2 Comments

I've heard of the cosine similarity between texts, but not between individual words. Write down the formula that you want converted to code.
@Jothi: what have you tried so far and which problems have occurred?

Sign in to comment.

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 20 Dec 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!