| MATLAB Central > MATLAB Newsreader > Extract numbers from table containing text and num... |
|
|
|
Subject: Extract numbers from table containing text and numbers From: Stan Date: 1 Feb, 2013 02:40:08 Message: 1 of 30 |
|
Hello, |
|
Subject: Extract numbers from table containing text and numbers From: Stan Date: 1 Feb, 2013 03:35:08 Message: 2 of 30 |
|
"Stan" wrote in message <kef9u8$seu$1@newscl01ah.mathworks.com>... |
|
Subject: Extract numbers from table containing text and numbers From: Stan Date: 1 Feb, 2013 16:20:08 Message: 3 of 30 |
|
Could it be that the string )= is not being accepted as a string? |
|
Subject: Extract numbers from table containing text and numbers From: dpb Date: 1 Feb, 2013 18:44:15 Message: 4 of 30 |
|
On 1/31/2013 8:40 PM, Stan wrote: |
|
Subject: Extract numbers from table containing text and numbers From: Stan Date: 2 Feb, 2013 02:19:08 Message: 5 of 30 |
|
dpb <none@non.net> wrote in message <keh2cd$6al$1@speranza.aioe.org>... |
|
Subject: Extract numbers from table containing text and numbers From: dpb Date: 2 Feb, 2013 14:29:42 Message: 6 of 30 |
|
On 2/1/2013 8:19 PM, Stan wrote: |
|
Subject: Extract numbers from table containing text and numbers From: Stan Date: 2 Feb, 2013 16:26:08 Message: 7 of 30 |
|
^^^^ I'm using release R2012a. |
|
Subject: Extract numbers from table containing text and numbers From: dpb Date: 2 Feb, 2013 17:50:09 Message: 8 of 30 |
|
On 2/2/2013 10:26 AM, Stan wrote: |
|
Subject: Extract numbers from table containing text and numbers From: dpb Date: 2 Feb, 2013 18:40:41 Message: 9 of 30 |
|
On 2/2/2013 8:29 AM, dpb wrote: |
|
Subject: Extract numbers from table containing text and numbers From: Stan Date: 2 Feb, 2013 20:02:06 Message: 10 of 30 |
|
Okay so I re-tried with a direct copy-paste. It did not work. The leading space, as you mentioned, does not affect it. |
|
Subject: Extract numbers from table containing text and numbers From: dpb Date: 2 Feb, 2013 23:37:59 Message: 11 of 30 |
|
On 2/2/2013 2:02 PM, Stan wrote: |
|
Subject: Extract numbers from table containing text and numbers From: Bruno Luong Date: 3 Feb, 2013 09:59:08 Message: 12 of 30 |
|
Rather work on fixed-field extraction method. I save a piece of your data in test.txt and here is how I read it back: |
|
Subject: Extract numbers from table containing text and numbers From: dpb Date: 3 Feb, 2013 15:00:50 Message: 13 of 30 |
|
On 2/3/2013 3:59 AM, Bruno Luong wrote: |
|
Subject: Extract numbers from table containing text and numbers From: dpb Date: 3 Feb, 2013 15:07:27 Message: 14 of 30 |
|
On 2/2/2013 2:02 PM, Stan wrote: |
|
Subject: Extract numbers from table containing text and numbers From: Bruno Luong Date: 3 Feb, 2013 15:23:07 Message: 15 of 30 |
|
dpb <none@non.net> wrote in message <kelu2o$7qj$1@speranza.aioe.org>... |
|
Subject: Extract numbers from table containing text and numbers From: dpb Date: 3 Feb, 2013 16:06:28 Message: 16 of 30 |
|
On 2/3/2013 9:23 AM, Bruno Luong wrote: |
|
Subject: Extract numbers from table containing text and numbers From: dpb Date: 3 Feb, 2013 16:24:04 Message: 17 of 30 |
|
On 2/3/2013 9:07 AM, dpb wrote: |
|
Subject: Extract numbers from table containing text and numbers From: dpb Date: 3 Feb, 2013 16:32:50 Message: 18 of 30 |
|
On 2/3/2013 9:23 AM, Bruno Luong wrote: |
|
Subject: Extract numbers from table containing text and numbers From: Stan Date: 3 Feb, 2013 18:02:07 Message: 19 of 30 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message |
|
Subject: Extract numbers from table containing text and numbers From: Bruno Luong Date: 3 Feb, 2013 19:51:07 Message: 20 of 30 |
|
"Stan" wrote in message <kem8mv$mnu$1@newscl01ah.mathworks.com>... |
|
Subject: Extract numbers from table containing text and numbers From: Bruno Luong Date: 4 Feb, 2013 19:45:08 Message: 21 of 30 |
|
dpb <none@non.net> wrote in message <kem3f8$psl$1@speranza.aioe.org>... |
|
Subject: Extract numbers from table containing text and numbers From: dpb Date: 4 Feb, 2013 21:57:47 Message: 22 of 30 |
|
On 2/4/2013 1:45 PM, Bruno Luong wrote: |
|
Subject: Extract numbers from table containing text and numbers From: dpb Date: 5 Feb, 2013 01:04:46 Message: 23 of 30 |
|
On 2/4/2013 3:57 PM, dpb wrote: |
|
Subject: Extract numbers from table containing text and numbers From: Bruno Luong Date: 5 Feb, 2013 06:55:08 Message: 24 of 30 |
|
dpb <none@non.net> wrote in message <keplqs$he2$1@speranza.aioe.org>... |
|
Subject: Extract numbers from table containing text and numbers From: dpb Date: 5 Feb, 2013 14:17:48 Message: 25 of 30 |
|
On 2/5/2013 12:55 AM, Bruno Luong wrote: |
|
Subject: Extract numbers from table containing text and numbers From: Bruno Luong Date: 5 Feb, 2013 14:50:12 Message: 26 of 30 |
|
dpb <none@non.net> wrote in message <ker49o$r10$1@speranza.aioe.org>... |
|
Subject: Extract numbers from table containing text and numbers From: dpb Date: 5 Feb, 2013 15:43:37 Message: 27 of 30 |
|
On 2/5/2013 8:50 AM, Bruno Luong wrote: |
|
Subject: Extract numbers from table containing text and numbers From: Bruno Luong Date: 5 Feb, 2013 16:08:12 Message: 28 of 30 |
|
dpb <none@non.net> wrote in message <ker9aj$df0$1@speranza.aioe.org>... |
|
Subject: Extract numbers from table containing text and numbers From: dpb Date: 5 Feb, 2013 18:35:32 Message: 29 of 30 |
|
On 2/5/2013 10:08 AM, Bruno Luong wrote: |
|
Subject: Extract numbers from table containing text and numbers From: Stan Date: 7 Feb, 2013 22:59:09 Message: 30 of 30 |
|
Update: |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| textscan | Stan | 31 Jan, 2013 21:44:10 |
| fscanf | Stan | 31 Jan, 2013 21:44:10 |
| sscanf | Stan | 31 Jan, 2013 21:44:10 |
| reading in data | Stan | 31 Jan, 2013 21:44:10 |
| headerlines | Stan | 31 Jan, 2013 21:44:10 |
| reading strings an... | Stan | 31 Jan, 2013 21:44:10 |
