The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: how to find the maximum repetitions in string
Replies: 3   Last Post: Jul 31, 2012 11:13 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 91
Registered: 8/31/11
how to find the maximum repetitions in string
Posted: Jul 28, 2012 5:18 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I have a string inside a cell as follows,

for n=1:7
for n=8:11

the maximum repetitions of the above string is 'vijay'. can someone please help me in obtaining a same result through code.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.