Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

Topic: dividing string
Replies: 2   Last Post: Apr 8, 2011 4:17 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
anil.m.007@gmail.com

Posts: 22
Registered: 2/16/11
dividing string
Posted: Apr 8, 2011 12:28 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

hi all,

i am little bit confuse with string splitting.
i am geeting the string like this 'C34D'
this string i am dividing like this
he='C34D'; %input string
a=strcat(he(1),he(2)); dividing first two char
b=strcat(he(3),he(4)); dividing second two char

it's working very fine.. but is there any other method to dividing string ..


thank you,



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.