Re: Min function returns Min[2.05875,] instead of just 2.05875

*To*: mathgroup at smc.vnet.net*Subject*: [mg100391] Re: Min function returns Min[2.05875,] instead of just 2.05875*From*: Christopher Henrich <chenrich at monmouth.com>*Date*: Tue, 2 Jun 2009 06:46:39 -0400 (EDT)*References*: <h00d38$pkq$1@smc.vnet.net>

In article <h00d38$pkq$1 at smc.vnet.net>, dg <davide.guarisco at gmail.com> wrote: > I have an matrix "data" with 17x248 real numbers. > > When I enter Min[data], I get > Min[2.05875, ] as a result, instead of just the number 2.05875. > > This is Mathematica 7.0.1 on Mac OS X. > > Why? > > How can I get just the number from the result? > > TIA I think you have a non-printing character in your matrix. Min[2,3,4,5,x] reduces to Min[2,x]. But if the "x" was something so strange that Mathematica did not have a way of printing it, then I think we would see Min[2,]. If "data" is stored as a list of 17 row, each of which should contain 248 numbers, then look for a row with Length[row] = 249. -- Christopher J. Henrich chenrich at monmouth.com http://www.mathinteract.com "A bad analogy is like a leaky screwdriver." -- Boon