[Top][All Lists]

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

'end' statement

From: Ferdinand Schinagl
Subject: 'end' statement
Date: Thu, 22 Oct 1998 14:24:26 +0100

Hi there,

it's me again :-. This is just wishful thinking!
I want to demonstrate an example of a (matlab) feature
which I think is very useful:

>> a=[1,2,3]

a =

     1     2     3

>> a(2:end)

ans =

     2     3  

In octave I'd do:

octave:21> a(2:length(a))
ans =

  2  3

which is rather inconvenient, and it makes octave
less matlab compatible.

Any concerns?


reply via email to

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