Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9123
| From | Murta <rodrigomurtax@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Creating List |
| Date | 2012-03-18 07:51 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jk446v$e1r$1@smc.vnet.net> (permalink) |
| References | <jk1ft6$50r$1@smc.vnet.net> |
Hi!
Maybe this solve your problem
li = Table[xkoor[i], {i, 1, iend}]
lj = Table[ykoor[j], {j, 1, jend}]
Tuples[{li, lj}]
Best Regards
Murta
On Mar 17, 4:53 am, Harry <hvdos...@gmail.com> wrote:
> Hi out there,
>
> I have calculated some x- and y-values and want to combine them in a
> way that the x and y-values define coordinates. Well, I have:
>
> xkoor[i], {i, 1, iend} and
> ykoor[j], {j, 1, jend}
>
> To be able to continue I need this list:
>
> {{xkoor[1],ykoor[1]},
> {xkoor[2],ykoor[1]},
> {xkoor[3],ykoor[1]},
> {xkoor[4],ykoor[1]},
> {xkoor[1],ykoor[2]},
> {xkoor[2],ykoor[2]},
> {xkoor[3],ykoor[2]},
> {xkoor[4],ykoor[2]},
> {xkoor[1],ykoor[3]},
> {xkoor[2],ykoor[3]},
> {xkoor[3],ykoor[3]},
> {xkoor[4],ykoor[3]}}
>
> and have no idea how to get this. So I would be very happy to get any
> small hint...
>
> Thanks a lot,
>
> Harald
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Creating List Harry <hvdosten@gmail.com> - 2012-03-17 07:53 +0000 Re: Creating List Peter Pein <petsie@dordos.net> - 2012-03-18 07:44 +0000 Re: Creating List Ray Koopman <koopman@sfu.ca> - 2012-03-18 07:47 +0000 Re: Creating List Murta <rodrigomurtax@gmail.com> - 2012-03-18 07:51 +0000
csiph-web