|
From: | Miĥail Vasiljev |
Subject: | Re: need some help with vectorization |
Date: | Tue, 25 May 2010 11:58:30 +0400 |
2010/5/25 Jaroslav Hajek <address@hidden>: > I'm not sure I understand you, but the code above can be written like this: > > y = ones (4); > y(2:3, 2:3) = M(2:3, 2:3); > y = y(:).'; > > Thanks you! Seems that it's just what i need!
[Prev in Thread] | Current Thread | [Next in Thread] |