From: lana on 3 Apr 2010 04:56 hello I have an array from 0 to 15 and I want to ignore element from 0 to 3 and calaculate from 4 to 12 and ignore the rest how can I do that thanks in advance lana lang
From: us on 3 Apr 2010 05:04 "lana " <files(a)mathworks.com> wrote in message <hp6vrm$cj$1(a)fred.mathworks.com>... > hello > > I have an array from 0 to 15 and I want to ignore element from 0 to 3 and calaculate from 4 to 12 and ignore the rest > how can I do that > > thanks in advance > lana lang well(!?)... one of the many solutions % note: ML indexing starts with one... v=rand(1,15); vs=v(4:12); us
From: lana on 3 Apr 2010 05:06 "us " <us(a)neurol.unizh.ch> wrote in message <hp70al$6f5$1(a)fred.mathworks.com>... > "lana " <files(a)mathworks.com> wrote in message <hp6vrm$cj$1(a)fred.mathworks.com>... > > hello > > > > I have an array from 0 to 15 and I want to ignore element from 0 to 3 and calaculate from 4 to 12 and ignore the rest > > how can I do that > > > > thanks in advance > > lana lang > > well(!?)... > one of the many solutions > > % note: ML indexing starts with one... > v=rand(1,15); > vs=v(4:12); > > us thanks i want another soluation pls
From: lana on 3 Apr 2010 05:13 j=0; for i=3:size(arry)-3 arry1(j)=arry(i)=; j=j+1; end; i have this code i want to do my question in this code how do i that thanks
From: lana on 3 Apr 2010 05:14
j=0; for i=3:size(arry)-3 arry1(j)=arry(i)=; j=j+1; end; i have this code i want to do my question in this code how do i that thanks |