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: negative patterns
Replies: 1   Last Post: Jan 10, 2013 10:34 AM

Advanced Search

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

Posts: 2
Registered: 10/28/09
negative patterns
Posted: Jan 10, 2013 10:22 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have a group of valid strings, ie 0.0, 1.1, 1.2, 1.3, etc... . I have an array of values that I am processing and would like to replace any value that is not one of my valid strings with the string representation, n/v. I am familiar with the strrep fuction but I am unable to figure out the pattern I would use to match everything except my valid strings. Thanks for your time.

Date Subject Author
Read negative patterns
Read Re: negative patterns
Matt J

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

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.