[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with column specification in matrices

From: Mike Miller
Subject: Re: problem with column specification in matrices
Date: Thu, 31 Oct 2002 13:29:17 -0600 (CST)

On Thu, 31 Oct 2002, John W. Eaton wrote:

> In an expression like
>   [n (1+1./n).^n]
> should that be interpreted as two expressions
>   [n, (1+1./n).^n]
> or as one, with n indexed by the second expression (that's what you'd
> get without the square brackets).
> IMHO, it was bad design for Matlab to make whitespace magic inside the
> square brackets.

Thanks, John.  I was a little perplexed when [n n] did what I expected.  I
guess the bottom line is this:  A comma will always work for me.


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]