Groups | Search | Server Info | Login | Register
Groups > comp.soft-sys.math.mathematica > #16807
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newspeer1.nac.net!newspump.sol.net!post2.nntp.sol.net!posts.news.twtelecom.net!nnrp3.twtelecom.net!not-for-mail |
|---|---|
| From | Kevin <kjm@KevinMcCann.com> |
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Simple list question |
| Date | Tue, 15 Apr 2014 03:00:04 +0000 (UTC) |
| Sender | steve@smc.vnet.net |
| Approved | Steven M. Christensen <steve@smc.vnet.net>, Moderator |
| Message-ID | <lii7bk$ihu$1@smc.vnet.net> (permalink) |
| References | <lig9nr$cft$1@smc.vnet.net> |
| Lines | 34 |
| Organization | Time-Warner Telecom |
| NNTP-Posting-Date | 15 Apr 2014 03:06:07 GMT |
| NNTP-Posting-Host | f9f24edc.news.twtelecom.net |
| X-Trace | DXC==3e936_[f;`Y5dP1cEO1CeC_A=>8kQj6m;[h;PUXBgbd3`G[5H2>>MbEFiONJ7[GofL:9L629[7jl |
| X-Complaints-To | abuse@twtelecom.net |
| Xref | csiph.com comp.soft-sys.math.mathematica:16807 |
Show key headers only | View raw
Try Flatten on your final result.
Kevin
On 4/14/2014 5:28 AM, Ste[hen Gray wrote:
> pcin = 2;
> pcex = 3; (*pcin and pcex can have various small values *)
>
> coin = Table[{10 RandomReal[], 10 RandomReal[]}, {pcin}]
> coex = Table[{3 RandomReal[], 3 RandomReal[]}, {pcex}]
> cobo = Append[coin, coex]
>
>
> gives, typically,
>
> {{0.288346, 3.57763}, {1.7335, 8.69666}}
> {{0.179831, 1.35324}, {0.927483, 0.931586}, {1.76338, 2.45073}}
> {{0.288346, 3.57763}, {1.7335,
> 8.69666}, {{0.179831, 1.35324}, {0.927483, 0.931586}, {1.76338,
> 2.45073}}}
>
> What I want is a series of x,y coordinates with no extra nesting:
>
> {{0.288346, 3.57763}, {1.7335,
> 8.69666}, {0.179831, 1.35324}, {0.927483, 0.931586}, {1.76338,
> 2.45073}}
>
> I'm embarrassed to admit that I can't find how to do this.
>
> Please email me. Thank you.
>
> stevebg@roadrunner.com
>
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar
Simple list question "Ste[hen Gray" <stevebg@roadrunner.com> - 2014-04-14 09:28 +0000 Re: Simple list question Kevin <kjm@KevinMcCann.com> - 2014-04-15 03:00 +0000 Re: Simple list question Kevin <kjm@KevinMcCann.com> - 2014-04-15 03:00 +0000 Re: Simple list question "Dr. Wolfgang Hintze" <weh@snafu.de> - 2014-04-15 03:01 +0000
csiph-web