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: using index variable for looping
Replies: 1   Last Post: Mar 11, 2014 12:55 PM

Advanced Search

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

Posts: 17
Registered: 3/11/14
using index variable for looping
Posted: Mar 11, 2014 11:34 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have some data to used .

a = textread ('introductionname.txt','%s');
b = char (a);

I need some way to change the char of 'a' variable to be ascii code. Could you help me to change this char ?

may i could draw my algorithm,

file.txt have changed to be char. And then every single char I must change to be ascii code. My lecture said I have using variable index and array to pick up first character then change to ascii and then change to quartenair. And then we already going to the next character and doing the same.



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.