×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Change The Integer Into Text

Change The Integer Into Text

Change The Integer Into Text

(OP)
Hi Everybody,

Please help me to solve this problem. I have a loop and I want to show the indicator of the loop as a text in a location of my figure. For example, think that my loop is running from p=1:300. I want to be able to show the number corresponding to "p" in each iteration. I know that I can use "TEXT" command but the problem is that in this command I can only use text format not integer format. I hope the problem is clear for you know. Please help me to solve this as soon as possible.

Thanks in advance for your attention.
Amir

RE: Change The Integer Into Text

Hello Amir!

Just use the int2str(p) command.

KaSt

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources