Find similarity between string inputs

16 views (last 30 days)
Smith
Smith on 5 Jul 2011
Commented: Bradley Stiritz on 27 Dec 2013
Hi, I have a file with some string inputs. I would like to find the similarity between the string inputs when i'm accessing one or more inputs at a time.Could anyone help me out with this problem.
Thanks in advance for your precious time Smith.
  2 Comments
Fangjun Jiang
Fangjun Jiang on 5 Jul 2011
You need to clarify your question.
Jan
Jan on 6 Jul 2011
What exactly is "similarity"?

Sign in to comment.

Answers (2)

Jan
Jan on 6 Jul 2011
Perhaps you want the EditDistance: FEX:EditDist.
  1 Comment
Bradley Stiritz
Bradley Stiritz on 27 Dec 2013
Jan, thanks for this very apropos & helpful suggestion :)

Sign in to comment.


Harry MacDowel
Harry MacDowel on 6 Jul 2011
The function strcmp is a good start for you to study:-

Categories

Find more on Cell Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!