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 Operations
Replies: 5   Last Post: Nov 8, 2009 6:52 PM

Advanced Search

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

Posts: 3
Registered: 11/7/09
String Operations
Posted: Nov 7, 2009 11:11 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I was wondering if someone could give me some advice on some string manipulations (as i am newish to Matlab).

I have lots of strings in the form of (that are being extracted from an xml file):

-94%22%-4%92%-9%16%18%21%-31%-1%7%-20%9%14%19%22%-7%-1%3%13%-10%-1%0%11%-2%2%2%0%-3%5%1%-4%-3%-3%-3%-1%0%-3%-6%-15%-15%-6%-6%2%1%2%1%-9%1%0%2%2%2%3%3%0%0%0%0%-2%1%0%-3%-3%

with varying amount of numbers and numbers of upto 150 (for anyone who is interested these are the MPEG-7 image descriptors for SCD)..

What i want to do is extract the numbers (and signs) and put each one into a different cell in an array... so the % divides the numbers

any ideas for the best way ??



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2009. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Goodwin College of Professional Studies.