Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
String Operations
Posted:
Nov 7, 2009 11:11 AM
|
|
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 ??
|
|
|
|