| MATLAB Central > MATLAB Newsreader > Help using textscan or sscanf |
|
|
|
Subject: Help using textscan or sscanf From: Kevin Ellis Date: 16 Jan, 2013 17:30:08 Message: 1 of 22 |
|
Hello, |
|
On 1/16/2013 11:30 AM, Kevin Ellis wrote: |
|
Subject: Help using textscan or sscanf From: Kevin Ellis Date: 16 Jan, 2013 21:21:08 Message: 3 of 22 |
|
dpb <none@non.net> wrote in message <kd6qtq$nu3$1@speranza.aioe.org>... |
|
On 1/16/2013 3:21 PM, Kevin Ellis wrote: |
|
Subject: Help using textscan or sscanf From: Kevin Ellis Date: 16 Jan, 2013 22:11:10 Message: 5 of 22 |
|
dpb <none@non.net> wrote in message <kd77v0$rlu$1@speranza.aioe.org>... |
|
On 1/16/2013 4:11 PM, Kevin Ellis wrote: |
|
On 1/16/2013 4:33 PM, dpb wrote: |
|
On 1/17/2013 9:18 AM, dpb wrote: |
|
On 1/16/2013 11:30 AM, Kevin Ellis wrote: |
|
On 1/19/2013 3:10 PM, dpb wrote: |
|
On 1/19/2013 3:10 PM, dpb wrote: |
|
Subject: Help using textscan or sscanf From: Kevin Ellis Date: 20 Jan, 2013 06:48:07 Message: 12 of 22 |
|
dpb <none@non.net> wrote in message <kdf43h$5pl$1@speranza.aioe.org>... |
|
On 1/20/2013 12:48 AM, Kevin Ellis wrote: |
|
Subject: Help using textscan or sscanf From: james bejon Date: 20 Jan, 2013 15:58:08 Message: 14 of 22 |
|
% Apologies if this has already been solved elsewhere--haven't had time to read through the thread, but... |
|
Subject: Help using textscan or sscanf From: Kevin Ellis Date: 20 Jan, 2013 23:44:06 Message: 15 of 22 |
|
"james bejon" wrote in message <kdh46g$p9$1@newscl01ah.mathworks.com>... |
|
Subject: Help using textscan or sscanf From: james bejon Date: 21 Jan, 2013 00:19:08 Message: 16 of 22 |
|
Shouldn't be too hard. What's the general idea here though? Is it "Whenever you can find 373810, then do such-and-such a thing"? Or whenever the string's a certain length, or what? |
|
Subject: Help using textscan or sscanf From: Kevin Ellis Date: 21 Jan, 2013 01:42:08 Message: 17 of 22 |
|
"james bejon" wrote in message <kdi1hs$5ev$1@newscl01ah.mathworks.com>... |
|
Subject: Help using textscan or sscanf From: james bejon Date: 21 Jan, 2013 19:09:09 Message: 18 of 22 |
|
Sorry, I meant more specifically: |
|
Subject: Help using textscan or sscanf From: Kevin Ellis Date: 22 Jan, 2013 17:11:09 Message: 19 of 22 |
|
"james bejon" wrote in message <kdk3ol$ngp$1@newscl01ah.mathworks.com>... |
|
Subject: Help using textscan or sscanf From: james bejon Date: 22 Jan, 2013 23:38:14 Message: 20 of 22 |
|
% What's the rule for getting '09837381019' to '4412373810', e.g., "If there are 11 digits, hack off the first 3 and the last 2 and stick a 4412 on the front"? |
|
Subject: Help using textscan or sscanf From: Doug Schwarz Date: 23 Jan, 2013 17:19:26 Message: 21 of 22 |
|
In article <kdn7t6$ci1$1@newscl01ah.mathworks.com>, |
|
Subject: Help using textscan or sscanf From: james bejon Date: 23 Jan, 2013 21:02:09 Message: 22 of 22 |
|
Yes, that wd be better--thanks. (At home, I use Octave, which doesn't seem to accept "\d", so this was a bit of a quick fix) |
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 |
| sscanf | Kevin Ellis | 16 Jan, 2013 12:34:13 |
| textscan | Kevin Ellis | 16 Jan, 2013 12:34:13 |
