Re: [Scilab-users] please help, I have just a mental blockade

2022-02-07 Thread P M
Hallo Claus, would you like to explain, why you thought of images as input? I worked a little in the field of finding lines/edges in noisy images and a cumsum approach crossed my way some years ago. So maybe here, there is something to learn for me? Best Regards, Philipp Am Mo., 7. Feb. 202

Re: [Scilab-users] please help, I have just a mental blockade

2022-02-07 Thread Samuel Gougeon
Le 07/02/2022 à 20:28, Claus Futtrup a écrit : Hi Samuel, and all Scilabers Entertaining response from Samuel! It's about knowing that the cumsum function exist. :-) I googled Scilab cumsum and found old docs that it was part of elementary matrix operations (https://help.scilab.org/doc/6.0.0

Re: [Scilab-users] please help, I have just a mental blockade

2022-02-07 Thread Claus Futtrup
Hi Samuel, and all Scilabers Entertaining response from Samuel! It's about knowing that the cumsum function exist. :-) I googled Scilab cumsum and found old docs that it was part of elementary matrix operations (https://help.scilab.org/doc/6.0.0/en_US/cumsum.html), but in Scilab 6.1.1 this i

Re: [Scilab-users] please help, I have just a mental blockade

2022-02-07 Thread Federico Miyara
Heinz, It isn't clear what you need, I don't underastand the relationship between EE and E. Except for the first 0 in E, it seems that each consecutive number n is repeated n+1 times up to the number indicated by the first component of EE. Is this what you are looking for? This is a simpl

Re: [Scilab-users] please help, I have just a mental blockade

2022-02-07 Thread Claus Futtrup
Hi Heinz I notice that the E-vector is longer than the largest numberin the EE-vector. What decides the length of the E-vector? I was thinking length(EE) = 3 gives the highest number in the E-vector, and that e.g. max(EE) = 8 would be the length of the E-vector (but it's not ...), such that

Re: [Scilab-users] please help, I have just a mental blockade

2022-02-07 Thread Samuel Gougeon
Hello Heinz, Le 07/02/2022 à 18:35, Heinz Nabielek a écrit : Sorry, colleagues - please help, I have just a mental blockade. Given vector EE= [3 5 8] I want to create a stepwise increasing vector E= [0 0 1 1 2 2 2 3 3 3 3] And would need a system that works for much larger numbers Pro