Find similarity between string inputs

25 ビュー (過去 30 日間)
Smith
Smith 2011 年 7 月 5 日
コメント済み: Bradley Stiritz 2013 年 12 月 27 日
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 日
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 日
The function strcmp is a good start for you to study:-

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by