I'm looking to vectorize this loop:

```
needle = [1 2 3];

haystack  = [0 0 1 2 3 0 1 2 3;
             0 1 2 3 0 1 2 3 0;
             0 0 0 1 2 3 0 0 0];

for ii = 1:3

    indices{ii} = strfind (haystack(ii,:), needle);

end

indices{:}

```

`indices` then contains the starting positions of `needle` in each row of `haystack` (could be different number of times per row):

```
3 7
2 6
4

```

Any command(s) will do, doesn't have to be `strfind`, as long as its vectorized.