Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10112

Partition Help

From sierrahotel71@gmail.com
Newsgroups comp.soft-sys.math.mathematica
Subject Partition Help
Date 2012-05-17 08:09 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jp2bnp$4t7$1@smc.vnet.net> (permalink)

Show all headers | View raw


I'm getting an extra set of braces when trying to partition a matrix and don't understand how to correctly write the function or remove the extra braces.

data = (*Imported 6 column table*)
d1 = Partition[data, {1, 3}]
which results in {{{{-45000000, -10, 0}}, {{-419, 0, 1344}}},.....
I need it to be
{{{-45000000, -10, 0}, {-419, 0, 1344}},.......

Any help appreciated

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Partition Help sierrahotel71@gmail.com - 2012-05-17 08:09 +0000

csiph-web