help-octave
[Top][All Lists]
Advanced

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

Re: need some help with vectorization


From: veryhappy
Subject: Re: need some help with vectorization
Date: Tue, 25 May 2010 00:43:51 -0700 (PDT)

If you only want to take the middle part you can try the following:
[t1,t2]=size(M)
y=M(2:t1-1,2:t2-1)
I hope that help you
-- 
View this message in context: 
http://octave.1599824.n4.nabble.com/need-some-help-with-vectorization-tp2229589p2229626.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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