Re: [Scilab-users] add number arrays efficiently, how?

2017-03-23 Thread Samuel Gougeon
Le 23/03/2017 à 00:50, Tim Wescott a écrit : On Thu, 2017-03-23 at 00:28 +0100, Samuel Gougeon wrote: Le 22/03/2017 à 23:15, Erhy a écrit : Hello! I'm thinking in arrays - and I write SumArr = [ 1 2 3 ]; toAdd = [ 7 8 9 10 ]; SumArr( (length(SumArr)+1) : (length(SumArr)+length(toAdd)) ) =

Re: [Scilab-users] add number arrays efficiently, how?

2017-03-23 Thread Pablo Fonovich
Hi, I would have also written SumArr = [SumArr toAdd] Why is this answer different to the original? SumArr( (length(SumArr)+1) : (length(SumArr)+length(toAdd)) ) = toAdd; May be im missing something, but i think in both cases you need to know the arrays in advance, dont you? Also, i think

Re: [Scilab-users] "findmsvccompiler" is buggy!?

2017-03-23 Thread antoine . elias
Well it seems that someone have some problem with copy/paste ( me ^^ ) fix -> https://codereview.scilab.org/#/c/19226/ But on my computer with 6.0.0 release: --> findmsvccompiler //default value ans = msvc120pro --> setenv("SCILAB_PREFERED_MSVC","msvc140pro"); --> findmsvccompiler ans =

Re: [Scilab-users] "findmsvccompiler" is buggy!?

2017-03-23 Thread Dirk Reusch
Hello Antoine, Please have a look at "dlwFindMsVcCompiler" (cf. below), the list entries of funcs = list( ... ) and the entries of compilers = [ ... ] do *not* match! Best regards, Dirk --- function MSCompiler =

Re: [Scilab-users] "findmsvccompiler" is buggy!?

2017-03-23 Thread antoine . elias
Hello, Can you try with : setenv("SCILAB_PREFERED_MSVC","msVC140pro") I have 4 versions of VS on my computer and I can switch without trouble. Regards, Antoine Le 2017-03-23 21:55, Dirk Reusch a écrit : > Hello, > > Having installed VS 2013 ("msvc120express") and VS 2015 ("msvc140pro") >

[Scilab-users] "findmsvccompiler" is buggy!?

2017-03-23 Thread Dirk Reusch
Hello, Having installed VS 2013 ("msvc120express") and VS 2015 ("msvc140pro") and trying to force the use of VS 2015 via setenv("SCILAB_PREFERED_MSVC","mscv140pro") I have noticed that "findmsvccompiler()" still reports "msvc120express". IMHO there is a bug in "dlwFindMsVcCompiler()", because

Re: [Scilab-users] mixed data type matrix

2017-03-23 Thread Tim Wescott
On Thu, 2017-03-23 at 11:12 +0100, Jan Åge Langeland wrote: > > On 23.03.2017 09:54, fujimoto2005 wrote: > > > > I want to make the matrix whose the first column has the date value > > such as > > 2007/5/1 which I can use it in Excel and whose second column has > > the > > numerical value such

[Scilab-users] Define numerator and denominator of transfer function as variables in Xcos (DLR block)

2017-03-23 Thread Nikolay Strelkov
Dear all! I'm playing with simple digital filtering in Xcos 5.5.2. I have two filters - low-pass and high-pass, connected in series. Xcos does not have convolution block. So I write FIR transfer function manually from impulse

Re: [Scilab-users] mixed data type matrix

2017-03-23 Thread Jan Åge Langeland
On 23.03.2017 09:54, fujimoto2005 wrote: I want to make the matrix whose the first column has the date value such as 2007/5/1 which I can use it in Excel and whose second column has the numerical value such as 0.12. How can I construct such mixed data type matrix which I can copy it and paste

Re: [Scilab-users] mixed data type matrix

2017-03-23 Thread Dang Ngoc Chan, Christophe
Hello, > De : fujimoto2005 > Envoyé : jeudi 23 mars 2017 09:55 > > I want to make the matrix whose the first column has the date value such as > 2007/5/1 which I can use it in Excel and whose second column has the > numerical value such as 0.12. Excel can convert dates to numbers, see e.g.

Re: [Scilab-users] compiling scilab

2017-03-23 Thread Nikolay Strelkov
Dear Martin! First of all can't understand why you are trying to compile Scilab. You can get binary version , extract and use it. At second you can get Scilab from AUR . If you still willing to compile Scilab