On Fri, Jan 29, 2010 at 11:14 PM, Michael D Godfrey
<address@hidden> wrote:
On 01/29/2010 12:56 PM, Jaroslav Hajek wrote:
Incidentally, is anyone able to check a recent Matlab to find out what
is displayed by the command
[a, ~, b] = deal (1, 2, 3) % without semicolon
?
Is the middle value displayed? If not, then I suppose we really should
simply omit the swallowed variables from the result. That's going to
be easy to implement as well.
matlab 2009R says:
[a, ~, b] = deal (1, 2, 3)
a =
1
b =
3
Thanks, I think this settles it. The ignored values will be omitted
from the return list.