<div dir="ltr"><div>Hallo Claus,</div><div><br></div><div>would you like to explain, why you thought of images as input?</div><div><br></div><div>I worked a little in the field of finding lines/edges in noisy images and a cumsum approach crossed my way some years ago.</div><div>So maybe here, there is something to learn for me?</div><div><br></div><div>Best Regards,</div><div>Philipp<br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mo., 7. Feb. 2022 um 20:18 Uhr schrieb Claus Futtrup <<a href="mailto:cfuttrup@gmail.com">cfuttrup@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Heinz<br>
<br>
I notice that the E-vector is longer than the largest numberin the <br>
EE-vector. What decides the length of the E-vector?<br>
<br>
I was thinking length(EE) = 3 gives the highest number in the E-vector, <br>
and that e.g. max(EE) = 8 would be the length of the E-vector (but it's <br>
not ...), such that E = zeros(1:maxE) could be your initialization. This <br>
is why I ask, what decides the length of the E-vector?<br>
<br>
How large are the numbers going to be? ... are we talking <br>
graphics/pictures in the mega-pixel range as input?<br>
<br>
Best regards,<br>
Claus<br>
<br>
On 07-02-2022 18:35, Heinz Nabielek wrote:<br>
> Sorry, colleagues  -   please help, I have just a mental blockade.<br>
><br>
> Given vector EE= [3 5 8]<br>
><br>
> I want to create a stepwise increasing vector E= [0 0 1 1 2 2 2 3 3 3 3]<br>
><br>
> And would need a system that works for much larger numbers....<br>
><br>
> Probably dead easy?<br>
> Heinz<br>
><br>
> _______________________________________________<br>
> users mailing list<br>
> <a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a><br>
> <a href="http://lists.scilab.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
<br>
<br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
</blockquote></div>