help-octave
[Top][All Lists]
Advanced

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

Various questions


From: Wichaya Changwatchai
Subject: Various questions
Date: Fri, 26 Aug 1994 11:51:08 -0600 (CDT)

Several questions:

1) The section on range constants says that:

        Octave does not convert range constants to vectors unless it is
        necessary to do so.

When would it NOT be necessary to convert a range constant to a vector?  Would
an example be, say, a for loop?

2) Is there a way to subscript a constant range, e.g.

        [2:2:10](2:4)

as opposed to having to assign it to a dummy variable:

        a = [2:2:10];
        a(2:4)

3) The operators .+ and .- don't seem to work, as documented in the manual (of
course, they ARE redundant with + and -).  Have they been disabled?

Top
-- 
W. Top Changwatchai
address@hidden

reply via email to

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