help-octave
[Top][All Lists]
Advanced

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

Too Basic: Ending limit of array


From: Isak Delberth Davids
Subject: Too Basic: Ending limit of array
Date: Mon, 6 Dec 2010 10:16:40 +0200

Hi octavians,

This is so basic that I could not get search words for googling, and similarly it took me 7.9 minutes to get a title for it. Embarrassed!

I thought the following must give me "error: subscript indices must be either positive integers or logicals."
A = 1:7.9
but it gives the same result as
A = 1:7.1
so that it looks like
A = 1:floor(7.9)
I think 7.9 and 7.1 are not "positive integers".

Sorry for taking you so low down on this innocent Monday's morning!

Isak

* * * * * * * * * * * * * * *
*  Isak Delbert Davids *
*  +264-81-33 049 33  *
*  +264-61-206 3789   *
*    Namibia, Afrika     *
* * * * * * * * * * * * * * *


reply via email to

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