| MATLAB Central > MATLAB Newsreader > Go from end to start of array |
|
|
|
Hi guys. |
|
Subject: Go from end to start of array From: Steve Amphlett Date: 13 Feb, 2009 11:17:01 Message: 2 of 17 |
|
Arthur <artnaz@gmail.com> wrote in message <15173892.1234517269163.JavaMail.jakarta@nitrogen.mathforum.org>... |
|
Subject: Go from end to start of array From: tpl@eng.cam.ac.uk (Tim Love) Date: 13 Feb, 2009 11:18:29 Message: 3 of 17 |
|
Arthur <artnaz@gmail.com> writes: |
|
> I understand the deleting of the 4th and 8th |
|
Thanks a lot!!! That's the little thing I was looking for. See my comment to see what I made of it. |
|
Sorry, I made a mistake. You have to start with deleting the first element. So the example will be: |
|
Subject: Go from end to start of array From: Roger Stafford Date: 20 Feb, 2009 03:41:01 Message: 7 of 17 |
|
Arthur <artnaz@gmail.com> wrote in message <24575660.1235063653276.JavaMail.jakarta@nitrogen.mathforum.org>... |
|
Thanks a lot for the input, but it doesn't give the correct output. And I don't know where you got this from: |
|
Subject: Go from end to start of array From: Roger Stafford Date: 20 Feb, 2009 16:27:02 Message: 9 of 17 |
|
Arthur <artnaz@gmail.com> wrote in message <23120260.1235142966555.JavaMail.jakarta@nitrogen.mathforum.org>... |
|
You're right, sorry for not being clear. M=amount of elements to be skipped, and (M+1)=element to be deleted. So when N=10 and M=2, we delete '1' and then '4'. When M=4, we delete '1', then '6'. |
|
Subject: Go from end to start of array From: Roger Stafford Date: 21 Feb, 2009 04:03:03 Message: 11 of 17 |
|
Arthur <artnaz@gmail.com> wrote in message <28689491.1235151366987.JavaMail.jakarta@nitrogen.mathforum.org>... |
|
Subject: Go from end to start of array From: Bruno Luong Date: 21 Feb, 2009 07:23:05 Message: 12 of 17 |
|
Roger, |
|
Subject: Go from end to start of array From: Roger Stafford Date: 21 Feb, 2009 23:13:02 Message: 13 of 17 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <gnoa4p$j9q$1@fred.mathworks.com>... |
|
Subject: Go from end to start of array From: Bruno Luong Date: 22 Feb, 2009 09:02:35 Message: 14 of 17 |
|
"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <gnq1pu$mtt$1@fred.mathworks.com>... |
|
Subject: Go from end to start of array From: Roger Stafford Date: 22 Feb, 2009 17:45:04 Message: 15 of 17 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <gnr4bb$ehi$1@fred.mathworks.com>... |
|
Subject: Go from end to start of array From: Bruno Luong Date: 22 Feb, 2009 18:31:01 Message: 16 of 17 |
|
"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <gns2v0$2sf$1@fred.mathworks.com>... |
|
Hi Roger, |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
