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: 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 ]

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:


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

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.