octave-maintainers
[Top][All Lists]
Advanced

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

Re: Array slicing in Octave


From: David Bruce
Subject: Re: Array slicing in Octave
Date: Tue, 10 May 2011 17:13:31 -0700 (PDT)

octave:1> a = reshape(1:12,3,4)
a =

    1    4    7   10
    2    5    8   11
    3    6    9   12

octave:2> a(1:2,3:4)
ans =

    7   10
    8   11

octave:3>


--
View this message in context: 
http://octave.1599824.n4.nabble.com/Array-slicing-in-Octave-tp3501691p3513368.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

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