[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Placing 'end' (index) in a variable
From: |
Judd Storrs |
Subject: |
Re: Placing 'end' (index) in a variable |
Date: |
Tue, 27 Apr 2010 15:22:13 -0400 |
2010/4/27 Carnë Draug <address@hidden>:
> if (interval)
> final = input;
> else
> final = end;
> endif
How about:
final = length(data):
The M docs seem to indicate that end() as a method might work in newer
releases of M (newer than are around me anyway), but I don't think
that works in octave.
--judd