Info

This question is closed. Reopen it to edit or answer.

how to find the central character of a word?

1 view (last 30 days)
shafaq innam
shafaq innam on 13 May 2013
Closed: MATLAB Answer Bot on 20 Aug 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 Comments
Walter Roberson
Walter Roberson on 14 May 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?

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by