Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how to find the central character of a word?

1 vue (au cours des 30 derniers jours)
shafaq innam
shafaq innam le 13 Mai 2013
Clôturé : MATLAB Answer Bot le 20 Août 2021
i am working on an algorithm in which i have to select a keyword from a text document and then find the central character of that keyword. for example if 'this' is the keyword then how can i find the central character of 'this' word?
  2 commentaires
Yao Li
Yao Li le 13 Mai 2013
What's the central character of 'this'? The word follows 'this' or the the cetral letter of 'this'?
Walter Roberson
Walter Roberson le 14 Mai 2013
If the text is proportionally spaced, do you want the letter whose center is closest to the centroid of the representation of the word, or do you want to determine the individual letters and then find the letter that is half-way through the list of letters?

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by