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: string problem_number from variable
Replies: 1   Last Post: Mar 12, 2011 6:09 AM

Advanced Search

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

Posts: 90
Registered: 8/28/10
string problem_number from variable
Posted: Mar 12, 2011 6:03 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Good day all,

I have a variable as follows:

S=
101


I have to pass the value of S into another variable 'T' , which is in string form .In my code, I do this as follows :

T = 'S'

However, I am only able make T equal to the letter S, not the value of S, which is what I really want. The output what I really want is :

T = '101'

How can I do this?

many thanks
Kate



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.