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

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

"Scott " <> wrote in message <kcmmat$ftl$>...
> 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.

one way


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 at NCTM 1994-2018. All Rights Reserved.