Re: [Scilab-users] vector operation replacing for loop

2018-11-08 Thread Heinz Nabielek
Thanks > On 08.11.2018, at 21:04, Samuel Gougeon wrote: > > Le 08/11/2018 à 20:24, Heinz Nabielek a écrit : >> Great. Thanks. Should have thought of it myself... >> >> Still: is there a vector way? > > Didn't you read Guylaine's answer? > She proposes a tricky algorithm. Unfortunately, it

Re: [Scilab-users] vector operation replacing for loop

2018-11-08 Thread Samuel Gougeon
Le 08/11/2018 à 20:24, Heinz Nabielek a écrit : Great. Thanks. Should have thought of it myself... Still: is there a vector way? Didn't you read Guylaine's answer? She proposes a tricky algorithm. Unfortunately, it cannot be used for very long Z input, due to memory considerations. I am

Re: [Scilab-users] vector operation replacing for loop

2018-11-08 Thread Heinz Nabielek
Great. Thanks. Should have thought of it myself... Still: is there a vector way? Heinz > On 07.11.2018, at 21:06, kjubo wrote: > > > > Hello, > > precalculate the know values, I gain 40% faster execution time. > Hope helps a bit... > > BR > > clc, clear, mode(0) > > n=1e6 >

Re: [Scilab-users] how to stop running scilab

2018-11-08 Thread Heinz Nabielek
Command+C on the Mac > On 08.11.2018, at 17:24, Vesela Pasheva wrote: > > How to stop running scilab using contro keys (like "ctrl/C") in Mallab? > > I am using scilab 6.0.1 for Windows 64 bits. > > Thanks > Vesela Pasheva > ___ > users mailing list

Re: [Scilab-users] how to stop running scilab

2018-11-08 Thread Stéphane Mottelet
Hello Can you use a try/catch/end around the presumed buggy code ? S. > Le 8 nov. 2018 à 19:47, Vesela Pasheva a écrit : > > Unfortunatelly it doesn't work. Scilab loses its control and it goes to the > Windows. In the scilab program there is a bug that I can not identify because > the

Re: [Scilab-users] how to stop running scilab

2018-11-08 Thread Vesela Pasheva
Unfortunatelly it doesn't work. Scilab loses its control and it goes to the Windows. In the scilab program there is a bug that I can not identify because the information on the console goes out. Thank you. Vesela На 08-11-2018 19:34, paul francedixhuit написа: Ctrl+C directly in the

Re: [Scilab-users] how to stop running scilab

2018-11-08 Thread paul francedixhuit
Ctrl+C directly in the console + type abort Le jeu. 8 nov. 2018 à 17:24, Vesela Pasheva a écrit : > How to stop running scilab using contro keys (like "ctrl/C") in Mallab? > > I am using scilab 6.0.1 for Windows 64 bits. > > Thanks > Vesela Pasheva >

[Scilab-users] how to stop running scilab

2018-11-08 Thread Vesela Pasheva
How to stop running scilab using contro keys (like "ctrl/C") in Mallab? I am using scilab 6.0.1 for Windows 64 bits. Thanks Vesela Pasheva ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] How to remove 'Nan' in a matrix

2018-11-08 Thread Carrico, Paul
M(isnan(M)) = [] :-) Thanks Christophe it works fine -Message d'origine- De : users [mailto:users-boun...@lists.scilab.org] De la part de Dang Ngoc Chan, Christophe Envoyé : jeudi 8 novembre 2018 16:04 À : Users mailing list for Scilab Objet : [EXTERNAL] Re: [Scilab-users] How to

Re: [Scilab-users] How to remove 'Nan' in a matrix

2018-11-08 Thread Dang Ngoc Chan, Christophe
Hello Paul, > De : users [mailto:users-boun...@lists.scilab.org] De la part de > Carrico, Paul Envoyé : jeudi 8 novembre 2018 15:54 > > I'm wondering how I can, remove the 'Nan' that appears in a matrix ( with > "find" I guess)? Not sure what you mean by "remove" but for the matrix M, you can

[Scilab-users] How to remove 'Nan' in a matrix

2018-11-08 Thread Carrico, Paul
Dear All I'm wondering how I can, remove the 'Nan' that appears in a matrix ( with "find" I guess)? I'm nearly sure it comes from a div with 0. and I think I know why, but I've 2 options: - I can easily remove it and it's not an issue and not relevant for the final result (out of