Find similarity between string inputs

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 件のコメント

Fangjun Jiang
Fangjun Jiang 2011 年 7 月 5 日
You need to clarify your question.
Jan
Jan 2011 年 7 月 6 日
What exactly is "similarity"?

サインインしてコメントする。

回答 (2 件)

Jan
Jan 2011 年 7 月 6 日

3 投票

Perhaps you want the EditDistance: FEX:EditDist.

1 件のコメント

Bradley Stiritz
Bradley Stiritz 2013 年 12 月 27 日
Jan, thanks for this very apropos & helpful suggestion :)

サインインしてコメントする。

Harry MacDowel
Harry MacDowel 2011 年 7 月 6 日

0 投票

The function strcmp is a good start for you to study:-

カテゴリ

ヘルプ センター および File ExchangeCharacters and Strings についてさらに検索

質問済み:

2011 年 7 月 5 日

コメント済み:

2013 年 12 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by