Re: [Scilab-users] Can Scilab compute the inverse of the regularized Incomplete Beta Function?

2020-05-18 Thread Tim Wescott
-n) = 0.003306121 > > How would I do that in Scilab? > Heinz > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software desi

Re: [Scilab-users] Corona modelling

2020-03-30 Thread Tim Wescott
n be over in > > Austria (cyan circles are recorded infections). But this is likely > > over-optimistic. > > Heinz > > > > __ > > Dr Heinz Nabielek > > Schüttelstrasse 77A/11 > > A-1020 Wien, Österreich > > Tel +43 1 276 56 13 > > cell +43 6

Re: [Scilab-users] Corona modelling

2020-03-29 Thread Tim Wescott
by 'a' is the transmission coefficient, 'b' the recovery factor > (after Reed-Frost 1928). > Initial values for S, I, R are available. > > Thank you > Heinz > ___ > users mailing list > users@lists.scilab.org >

Re: [Scilab-users] a linear equation

2018-12-02 Thread Tim Wescott
A(24,7)=1 > A(25,2)=1,A(25,5)=1,A(25,8)=1 > A(26,10)=1,A(26,13)=1,A(26,16)=1 > A(27,20)=1,A(27,23)=1,A(27,26)=1 > > Best regards. > > > > -- > Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists- > Archives-f2602246.html >

Re: [Scilab-users] Frequency response

2018-09-16 Thread Tim Wescott
I didn't answer about ZPK because I didn't know either! It's not so much a Scilab thing as -- are you getting the signal processing right? On Sun, 2018-09-16 at 18:15 +0200, Claus Futtrup wrote: > Hi Tim > >  >So, this is complicated. > > I admitted from the v

Re: [Scilab-users] Frequency response

2018-09-15 Thread Tim Wescott
)  <=>  > > frfit(F*2*%pi, H, n, W) // Scilab > > > > So you may look for the reciprocal of Scilab's frfit()  > > > > HTH > > Samuel > > > > > > > > ___ > > users mailin

Re: [Scilab-users] ?==?utf-8?q? Both scilab 5.5.2 & 6.0 stopped working (java issue under linux)

2018-01-21 Thread Tim Wescott
rg.scilab.modules.gui.SwingView.registerSwingView(Unknown > > > Source) > > > at org.scilab.modules.core.Scilab.(Unknown Source) > > > > > > Scilab cannot create Scilab Java Main-Class (we have not been > > > able to find the main Scilab > > >

Re: [Scilab-users] ?==?utf-8?q? Both scilab 5.5.2 & 6.0 stopped working (java issue under linux)

2018-01-21 Thread Tim Wescott
org.scilab.modules.gui.SwingView.registerSwingView(Unknown > > > > Source) > > > >  at org.scilab.modules.core.Scilab.(Unknown > > > > Source) > > > > > > > > Scilab cannot create Scilab Java Main-Class (we have not been

Re: [Scilab-users] Both scilab 5.5.2 & 6.0 stopped working (java issue under linux)

2018-01-21 Thread Tim Wescott
lab and thirdparty > packages are available). > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > -- Tim Wescott www.wescottdesign.com Control & Communic

Re: [Scilab-users] Scilab is crashing -- on one machine only

2017-06-28 Thread Tim Wescott
Thank you very much!  I missed that thread.  It's good to know what the issue is. Hopefully I can just wait it out -- if not, I know how to reboot with an older kernel. On Wed, 2017-06-28 at 11:09 +0300, Nikolay Strelkov wrote: > Dear Tim! > > As was discussed In t

[Scilab-users] Scilab is crashing -- on one machine only

2017-06-27 Thread Tim Wescott
works The "good" machine is the same Ubuntu distro (16.04, 64-bit). Any clues as to what may be happening? -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.631.7815 Cell: 503.349.8432 _

Re: [Scilab-users] linking (jumping) from line of code to an other

2017-05-12 Thread Tim Wescott
 // ... to continue here  > disp('P smaller 100. DM = ' + > string(DM)) > P = P + 100   // to use this P = P + 100 > end > end  > disp(string(n) + ' ' + string(P)) > end >   >

Re: [Scilab-users] Avoiding a loop

2017-05-11 Thread Tim Wescott
17-05-11 at 09:17 +0200, Frieder Nikolaisen wrote: > Thanks for all the answers.  > > I feared that there is no way around a loop. During the process batt > (Battery) is charged and discharged. In my example, it is only > discharged. I will code the entire problem with a loop, maybe &

Re: [Scilab-users] Avoiding a loop

2017-05-10 Thread Tim Wescott
d > Thanks alot! > > Best regards > Frieder  >   > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Tim Wescott www.wescottdesign.com Control & Communicatio

Re: [Scilab-users] Evaluate external function for Couple ODE's

2017-05-03 Thread Tim Wescott
7, you may need to write your own version of feval that loops through the columns of X and values of L to give you a vector of answers. On Wed, 2017-05-03 at 10:43 -0700, tiagorleite wrote: > Tim, > > Thanks for your response. > > X is my ODE solution vector for molar flow rates (

Re: [Scilab-users] Evaluate external function for Couple ODE's

2017-05-03 Thread Tim Wescott
his message in context: http://mailinglists.scilab.org/Evaluate > -external-function-for-Couple-ODE-s-tp4036287.html > Sent from the Scilab users - Mailing Lists Archives mailing list > archive at Nabble.com. > _______ > users mailing list >

Re: [Scilab-users] basic question ?

2017-04-23 Thread Tim Wescott
gives [1 4 1 4 1 4 1 4]' > >  tmp = [i j k] // to visualize the indexes > > //B(i,1) = A(j,k); // does not work?? > C(1,1) = A(1,1); > C(2,1) = A(1,4); > C > A > _______ > users mailing list > users@lists.scilab.org

Re: [Scilab-users] Modelling dynamic systems with real world data

2017-04-12 Thread tim
meterized blocks for the battery behavior. On 2017-04-12 07:49, phillip mobley wrote: > Sure thing Tim, > > Thank you for pointing out those details. I will share as much as I can. > > I am simulating the behavior of a battery as it is discharging into a > circuit. I recor

Re: [Scilab-users] Modelling dynamic systems with real world data

2017-04-11 Thread Tim Wescott
preadsheet or copy paste) in order to use in the > simulation? > > Is this possible with xcos? > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Tim Wescott www.wescottdesign.c

Re: [Scilab-users] Adding a matrix with the empty matrix will give an empty matrix

2017-03-27 Thread tim
Wait. That's a major change in behavior, and will result in some broken code out here in user-land: -->getversion ans = scilab-5.5.2 -->A = rand(3,3) A = 0.0683740 0.7263507 0.2320748 0.5608486 0.1985144 0.2312237 0.6623569 0.5442573 0.2164633 -->A = A + [] A = 0.0683740 0.7263507 0.232

Re: [Scilab-users] 3D interpolation : comments adding

2017-03-25 Thread tim
The help says that splin2d generates bicubic patches, so presumably it's not linear interpolation. On 2017-03-25 00:24, paul.carr...@free.fr wrote: > Hi All > > To go further in 2D/3D interpolation as I started in my previous emails, I > built the example here after. > > As suggested, I had

Re: [Scilab-users] 3D interpolation

2017-03-24 Thread Tim Wescott
ation whatever is the > temperature (for a given x) ... any advice? (of course I'm looking to > interp3D flag. > > Thanks for any feedback > > Paul > ___ > users mailing list > users@lists.scilab.org > ht

Re: [Scilab-users] 3D interpolation

2017-03-24 Thread Tim Wescott
step is to be able to perform a 3D interpolation whatever is the > temperature (for a given x) ... any advice? (of course I'm looking to > interp3D flag. > > Thanks for any feedback > > Paul > ___ > users mailing list > u

Re: [Scilab-users] mixed data type matrix

2017-03-23 Thread Tim Wescott
Write(Mdn,"datafile.csv",";") Or just write out a csv file. Or, if it's a small enough data set, print it to the console, copy, and paste into Excell. -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.631.7815 Cell: 503.349.8432 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

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

2017-03-22 Thread Tim Wescott
)+length(toAdd)) ) = > > toAdd; > > > > How to code it smarter? > SumArr = [SumArr toAdd] > If you know them in advance, yes.  My answer was predicated on not knowing "toAdd" at the same time as the 1x3 SumArr. > --  Tim Wescott www.wescottdesign.com Cont

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

2017-03-22 Thread Tim Wescott
can speed things up by creating a zero array of full size, then populating it as you go.  I.e., in this case you'd create SumArr to be 1x7, then populate the first three elements, then populate the last four. -- Tim Wescott www.wescottdesign.com Control & Communications systems, cir

Re: [Scilab-users] compiling scilab

2017-03-22 Thread Tim Wescott
he version of the tools that you're using.  Then they're going to want to know where you got your source code (unless it's obvious from the revision numbers). Sorry I can't offer more... -- Tim Wescott www.wescottdesign.com Control & Communications sys

Re: [Scilab-users] Why there are Matlab explanation in Scilab Help?

2017-03-21 Thread Tim Wescott
in-Scilab-Help-tp4035918.html > Sent from the Scilab users - Mailing Lists Archives mailing list > archive at Nabble.com. > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > --

Re: [Scilab-users] Xcos - simulation problem with Backlash block

2017-03-21 Thread Tim Wescott
block, run OK, but no with both blocks. > > How I can solve this problem? > > Thank You > > Tomasz > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > -- Ti

Re: [Scilab-users] Read matrix from text file

2017-03-21 Thread Tim Wescott
choose the document as a user? And having there not an > abselout path, but the current directory opened. > Sorry for this beginners questions, its really hard to get this > details with the Scilab help. > Greetings > Frieder >   >   > Am 2017-03-20 17:53, schrieb Tim Wescott: >

Re: [Scilab-users] Read matrix from text file

2017-03-20 Thread Tim Wescott
___ > > users mailing list > > users@lists.scilab.org > > http://lists.scilab.org/mailman/listinfo/users > > > > > > [anexo "Dieselmotor_v2.0.sce" removido por Osvaldo Sergio Farhat de > > Carvalho/PROF/DCC/ICEX/UFMG] > > [anexo "Koeffizi

Re: [Scilab-users] non linear optim

2017-03-20 Thread Tim Wescott
dient descent).  So it could just be that the underlying algorithm in fminsearch works better for your problem than the one for leastsq. Looking at the relevant Wikipedia pages may suggest something: https://en.wikipedia.org/wiki/Nelder%E2%80%93Mead_method  (fminsearch) https://en.wikipedia.o

Re: [Scilab-users] Read matrix from text file

2017-03-20 Thread Tim Wescott
.txt")  ans  =   1.2.3.4.   5.6.7.  - 8. (You can also use mopen and mfscanf -- the "file" stuff is "Fortran- like", the "mopen" stuff is "C-like", and fscanfMat is just convenient.  I tend to use the C-like stuff be

Re: [Scilab-users] lcm() output type: how to avoid overflowing and get an actual result?

2017-03-15 Thread Tim Wescott
actual result at all.  > >  - Usual +,-,*,/,^ operators between an int# or uint# and a decimal > number forces >    the result to the encoded integer type. So this choice would let > any further >    operations recasting the lcm() result into the original inttype > (instead of 

Re: [Scilab-users] On parameters passing by name in scilab functions

2017-02-27 Thread tim
On 2017-02-27 11:18, Samuel Gougeon wrote: Le 27/02/2017 à 19:49, Tim Wescott a écrit : You misread my comments. Tim _likes_ named parameters. If Tim were on the C++ standards committee (which is as likely as pigs flying, BTW) Tim would agitate that named parameters be adopted into that

Re: [Scilab-users] On parameters passing by name in scilab functions

2017-02-27 Thread Tim Wescott
You misread my comments.  Tim _likes_ named parameters.  If Tim were on the C++ standards committee (which is as likely as pigs flying, BTW) Tim would agitate that named parameters be adopted into that language.  Scilab, Verilog, and (I think) VHDL have it, and particularly in a language that

Re: [Scilab-users] On parameters passing by name in scilab functions

2017-02-27 Thread Tim Wescott
do accept names and take different actions > accordingly. Should I  > change all these codes to use scilab 6? > > Thanks > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Tim

Re: [Scilab-users] Bessel cubic spline

2017-02-26 Thread tim
Have you looked at the help for the 'splin' function, to see if any of the various flavors of spline that it will compute is what you want? On 2017-02-26 03:49, fujimoto2005 wrote: Is there a function of Bessel cubic spline? I mean Besse cubic spline as follows. 1,pieacewise 3 degree polynomial

Re: [Scilab-users] Bode of discret time transfer function.

2017-02-25 Thread Tim Wescott
e used, but i don't know how to pass it to the > system or something. > > Any hints would be appreciated. > Thanks > _______ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Tim Wescott www.wescottdesign.com Control & Communi

Re: [Scilab-users] Bode of discret time transfer function.

2017-02-25 Thread Tim Wescott
y uniis be in rd/s add "rad" as last input > argument > > Any hints would be appreciated. > > Thanks > > > > > > ___ > > users mailing list > > users@lists.scilab.org > > http://

Re: [Scilab-users] Variable Capacitor

2017-02-21 Thread Tim Wescott
users mailing list > > users@lists.scilab.org > > http://lists.scilab.org/mailman/listinfo/users > > >   > --  > Dr.M.J.McCann,MJMcCann-Consulting > > ___ > users mailing list > users@lists.scilab.org > http://l

Re: [Scilab-users] function with public variables possible?

2017-02-10 Thread Tim Wescott
from the Scilab users - Mailing Lists Archives mailing list > archive at Nabble.com. > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > -- Tim Wescott www.wescottdesign

Re: [Scilab-users] function with public variables possible?

2017-02-10 Thread Tim Wescott
ssible-tp4035458.html > Sent from the Scilab users - Mailing Lists Archives mailing list > archive at Nabble.com. > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > -- Tim

Re: [Scilab-users] Interfacing to third party DLLs

2017-01-07 Thread Tim Wescott
s write C functions using the Scilab API that talk to the DLL. It'd be a pain, and it would be nice if someone would make it more  painless. But -- the possibility is there. -- Tim Wescott www.wescottdesign.com Control & Communications systems,

Re: [Scilab-users] Printf on console in a c file

2016-12-20 Thread Tim Wescott
rom C -- that's probably what you'll need to do. -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.631.7815 Cell: 503.349.8432 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] more polarplots in one coordinate system

2016-11-28 Thread tim
On 2016-11-28 02:12, Maxi041291 wrote: Hello together, i would like two plot a few polarplots in one coordinate-system. The number of the plots should be defined by the length of a vector. In Matlab i would use the hold on command in a for Loop for it. I know, that i dont Need the hold on com

Re: [Scilab-users] xtitle seems to suppress plot

2016-11-27 Thread Tim Wescott
Over and over, it works every time. Maybe file a bug report? On Sun, 2016-11-27 at 23:11 +0100, Jens Simon Strom wrote: > Hallo Tim, > It may be of interest that the script works when it is executed > directly after start of Scilab. All further runs fail - reproducibly. > Tim, wou

Re: [Scilab-users] xtitle seems to suppress plot

2016-11-27 Thread Tim Wescott
; plot(rand(1,5)) > sleep(1000)//only for checking invisibility of new figure > cf.immediate_drawing="on"; cf.visible="on"; > //xtitle('xtitle seems to suppress plot content.') > Cheers > Jens Works fine for me; Scilab 5.5.0 on Ubuntu 14.04. Backgrou

Re: [Scilab-users] lack of simplification for rational

2016-11-23 Thread Tim Wescott
Out of curiosity, how does that relate to pfss? On Wed, 2016-11-23 at 23:30 +0100, Samuel Gougeon wrote: > Le 23/11/2016 23:19, philippe a écrit : > > .../... > > Le 23/11/2016 à 20:08, Tim Wescott a écrit : > > > >> [...] > >> Just as a note: I'm not s

Re: [Scilab-users] lack of simplification for rational

2016-11-23 Thread Tim Wescott
Correction: p=poly(ones(1,n),"x","r"); // Note 'r', not 'c' r=roots(p) plot(real(r)-1,imag(r),"+") And my yes, it does illustrate the problem quite well. On Wed, 2016-11-23 at 21:20 +0100, Serge Steer wrote: > p=poly(ones(1,n),"x&q

Re: [Scilab-users] lack of simplification for rational

2016-11-23 Thread Tim Wescott
7;)/poly(clean(coeff(denom(R))),'x') > R = > > 2 + x > - > 6 + x > > but of course this doesn't work for polynomials with complex > coefficients like : > > > -->(X+%i)/(X^2+1) // = 1/(X-%i) > ans = > >

Re: [Scilab-users] Start an arrested loop with one keystroke only

2016-11-21 Thread Tim Wescott
.com. > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.6

Re: [Scilab-users] Understanding the graphic hierarchy. Copy a figure

2016-11-21 Thread Tim Wescott
rg/mailman/listinfo/users > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 50

Re: [Scilab-users] Lack of Scatter type plots in scilab

2016-11-15 Thread Tim Wescott
xperts, > please help me to get the facet black, not cyan. > > plot3d([0 1 1 0]',[0 0 1 1 ]',[0 0 0 0]') > ce=gce(); > ce.color_flag=0;// Help page says: "All facets are painted using the > color index and method defined by color_mode" > ce.color_mode=

Re: [Scilab-users] Ubuntu upgrade just killed GL

2016-11-10 Thread Tim Wescott
cs-drivers-331/+bug/1639371 On Thu, 2016-11-10 at 12:13 +0100, Clément David wrote: > Hello Tim, > > Thanks for the report, FYI I checked a Scilab 6 local build and a Scilab > 5.5.2 on Ubuntu 16.04 and > it seems to works (at least plot3d works). > > I suggest you to reboot

[Scilab-users] Ubuntu upgrade just killed GL

2016-11-04 Thread Tim Wescott
;t get an RGB channel without saying why -- I don't know if this is part of the problem or not. -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.631.7815 Cell: 503.349.8432 == /sys/devices/pci:00/:00:01.0 == modalias :

[Scilab-users] Question about lin -- why rand()?

2016-10-12 Thread Tim Wescott
such, it coughs up a slightly different linearization each time. The linearization is largely accurate, but the difference from ideal is more than I'd (perhaps naively) expect. Why? If this is a well-known technique, please feel free to point me at a paper. -- Tim Wescott www.wescottdesign.com

Re: [Scilab-users] Linearizing a control system using "lin" (porting from MATLAB)

2016-10-12 Thread Tim Wescott
ut is completely wrong. I suspect the main problem is in > the function f(u,x) I pass to lin(). Is this the way to linearize a > non-linear system of odes? Is there a simpler one? > > > > -- > View this message in context: > http://mailinglists.scilab.org/Linearizing-a-control-system-using-lin-porting-from-MATLAB-tp4034786.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at > Nabble.com. > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.631.7815 Cell: 503.349.8432 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] Plot format changes

2016-10-06 Thread Tim Wescott
: Re: [Scilab-users] Plot format changes Le 06/10/2016 21:57, Tim Wescott a écrit : > So, I have some code that works all right, it works all right but not > exactly quite*: > >  errbar(time(ixg) / sampleRate, .. >  demodulator.eqData.idealPu

[Scilab-users] Plot format changes

2016-10-06 Thread Tim Wescott
each one keeping track of one version of the algorithm, all of which are running in parallel.) * Name that tune. -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.631.7815 Cell: 503.349.8432 ___

Re: [Scilab-users] Scilab control after an impossible calculation

2016-10-06 Thread Tim Wescott
now if I’m understandable enough … > > > > > > > > Paul > > > > > > > > > > ___ > > users mailing list > > users@lists.scilab.org > > http://lists.scilab.org/mailman/listinfo/u

Re: [Scilab-users] Forum dedicated to Scilab developments

2016-10-05 Thread Tim Wescott
not matter > > Paul > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software desi

Re: [Scilab-users] shift phase in fft

2016-09-29 Thread Tim Wescott
ot;); > > > // shift phase in the fft > s1_fft = fft(s1); > s1_fft = clean(s1_fft); > //s1_fft = s1_fft. * exp(-%i*phi/nl); > s1_fft = s1_fft. * exp(-%i*phi); > s1_new = ifft(s1_fft); > plot(t,s1_new,"g"); > > > > > ___

Re: [Scilab-users] System Identification for First order delay and dead time

2016-09-29 Thread Tim Wescott
at 07:09 -0700, Fukashiimo wrote: > Dear Tim, > > > Thank you for your reply. > > > First, you're not doing what I recommended you do. Why? <== As I > informed you that my inut u is not periodic. I thought that it is not > practical to use fft to my pr

Re: [Scilab-users] System Identification for First order delay and dead time

2016-09-27 Thread Tim Wescott
't seem to have taken any of these suggestions. Why? On Tue, 2016-09-27 at 07:30 -0700, Fukashiimo wrote: > Dear Tim, > > Thank you for yor advise. > > However, u is the step signal, such as 50% ==>60% ==> 50%. > u and y are sampled with constant interval, such as

Re: [Scilab-users] is vectorization possible

2016-09-27 Thread tim
On 2016-09-27 00:48, Samuel Gougeon wrote: > Le 27/09/2016 09:17, Tim Wescott a écrit : > >> .../... >> >> Or sum(..., 'r'). I can't remember which is which. One makes a row, >> the other makes a column, but I can never remember if it

Re: [Scilab-users] is vectorization possible

2016-09-27 Thread tim
matrix, the rows or columns of which you can sum up. I don't know if it'll be faster than the for loop, though. There may be an even better way of doing it, but I don't know what it is. On 2016-09-27 00:28, paul.carr...@free.fr wrote: Thanks Tim for the answer, nevertheless it c

Re: [Scilab-users] is vectorization possible

2016-09-27 Thread Tim Wescott
gt; for i = 1 : n > tmp(i,1) = sum(a( [1 + (i-1)*w : i*w],:)); > end > > > tmp > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Tim Wescott www.wescottdesign.com Control

Re: [Scilab-users] Scilab vs matlab

2016-09-26 Thread Tim Wescott
ers mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.631.7815 Cell: 503.349.8432 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] System Identification for First order delay and dead time

2016-09-25 Thread Tim Wescott
ion. However, I am not sure how I should > formulate my Laplace domain equation. Could you please advise me more > specifically? > > Thanks. > > > 2016/09/25 午前9:33 "Tim Wescott [via Scilab / Xcos - Mailing Lists > Archives]" <[hidden email]>: >

Re: [Scilab-users] System Identification for First order delay and dead time

2016-09-24 Thread tim
I suggest that you roll your own cost function, and use optim. Where possible, with optim, if part of the problem is nonlinear and part is linear, it's good to use a plain old linear least-squares fit for the plain old linear part. In your case, that's K. Tau and Td will have to be determine

Re: [Scilab-users] fourier series and fft

2016-09-22 Thread Tim Wescott
number_of_periodes = 1; > n = periode * number_of_periodes; > > x = [0 : %pi/100 : n]'; > y = f(x); > N = size(x,"*"); > > scf() > plot2d(x,y); > > a = fft(y,-1); > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org

Re: [Scilab-users] How to print int64 or uint64 integers at full accuracy?

2016-08-28 Thread Tim Wescott
t, but there > is the same truncature: > --> printf("%20.0f\n", i) > 4611686018427387900// Same issue (final 5 missing) > > > I started looking for a solution with write() and its fortran > formating, > but it looks no more ready for int64 integers. >

[Scilab-users] Constrained optimization speed vs. unconstrained

2016-08-27 Thread Tim Wescott
tion never ever hits binf or bsup. Is the constrained optimization slower than the unconstrained optimization? Is there any general way, short of doing the experiment, to know how much slower? Thanks in advance... -- Tim Wescott www.wescottdesign.com Control & Communications systems, circui

Re: [Scilab-users] plot2d problem

2016-08-21 Thread Tim Wescott
What was the error message?  Sent from my Verizon 4G LTE smartphone Original message From: Gerhard Kreuzer Date: 8/20/16 11:27 PM (GMT-08:00) To: users@lists.scilab.org Subject: [Scilab-users] plot2d problem Hi, here my two attepts one working, one failed, but why

Re: [Scilab-users] Time Series

2016-08-18 Thread Tim Wescott
eed in my data-vector and define a > point at the x/time-axis and than the data is plotted accordinly? > > > > With best regards > > > > Gerhard > > > > > _______ > users mailing list > users@lists.sci

[Scilab-users] Memory leak (v. 5.5.0)

2016-07-08 Thread Tim Wescott
d 24.95-b01, mixed mode) ! ! ! !Vendor specification: Oracle Corporation ! -- Tim Wescott www.wescottdesign.com Control & Communications systems, cir

Re: [Scilab-users] a beginner question

2016-06-18 Thread Tim Wescott
org > http://lists.scilab.org/mailman/listinfo/users -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.631.7815 Cell: 503.349.8432 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] users mailing lists out of english and french-speaking ones

2016-04-25 Thread Tim Wescott
anish, or in German? > Thanks > Samuel Gougeon > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Tim Wescott www.wescottdesign.com Control & Communications systems

Re: [Scilab-users] "Smoothing" very localised discontinuities in (scilab: to exclusive) (scilab: to exclusive) curves.

2016-04-04 Thread Tim Wescott
___ > Can't remember your password? Do you need a strong and secure password? > Use Password manager! It stores your passwords & protects your account. > Check it out at http://mysecurelogon.com/password-manager > > > >

Re: [Scilab-users] "Smoothing" very localised discontinuities in (scilab: to exclusive) curves.

2016-04-04 Thread Tim Wescott
e and accept long solver times. On Mon, 2016-04-04 at 08:43 -0800, scilab.20.browse...@xoxy.net wrote: > Tim, > > (sorry for the earlier "Tom"; finger trouble not name recognition problems :) > > > If your FEM software can't handle non-monotonic data, can it handl

Re: [Scilab-users] "Smoothing" very localised discontinuities in (scilab: to exclusive) (scilab: to exclusive) curves.

2016-04-04 Thread tim
This is kind of in line with what I said about deciding what your noise characteristics are and taking them into account. In this case you feel that the "noise" mostly very small but occasionally huge. If that's the case then the correct thing to do is to toss that measurement out (with patch

Re: [Scilab-users] "Smoothing" very localised discontinuities in curves.

2016-04-03 Thread tim
If your FEM software can't handle non-monotonic data, can it handle noisy data? I'm taking "smoothing" to mean "filtering" here. In general the filtering problem is to decide on the characteristics of your desired signal, the characteristics of your noise, and then make some mathematical tran

Re: [Scilab-users] "Smoothing" very localised discontinuities in curves.

2016-04-03 Thread tim
As written (with or without the commenting out) that code won't produce phase shifts. In technical terms it's a FIR filter that is symmetrical around zero delay, and such filters do not introduce phase shifts. On 2016-04-03 22:47, Claus Futtrup wrote: > Hi Buk > > When data goes zig-zag lik

Re: [Scilab-users] Running an .sce from the command line. message 9 (scilab: message 11 of 20) of 20)

2016-04-01 Thread Tim Wescott
27;s loglog, semilogx and semilogy. If you want to stick with Matlab style plotting you can investigate these -- but I don't use 'em, so I can make no promises. On Thu, 2016-03-31 at 16:56 -0800, scilab.20.browse...@xoxy.net wrote: > Tim, > > I've implemented that, and

Re: [Scilab-users] Running an .sce from the command line. message 9 of 20)

2016-03-31 Thread Tim Wescott
plot2d (a, b, logflag = "ln") Look at help for plot2d for details.  Sent from my Verizon Wireless 4G LTE smartphone Original message From: scilab.20.browse...@xoxy.net Date: 03/31/2016 4:38 PM (GMT-07:00) To: users@lists.scilab.org Subject: Re: [Scilab-users] Running

Re: [Scilab-users] Running an .sce from the command line.

2016-03-31 Thread Tim Wescott
nd them to your friends > through IMs, post on Twitter®, Facebook®, MySpace™, LinkedIn® – FAST! > > > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Tim Wescott www.wescottdesign.com Contro

Re: [Scilab-users] Invalid index?

2016-03-30 Thread Tim Wescott
> so why can it assign to god,vars(1) and not to god.vars(2)? > > Thanks Buk. > > > FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! > Check it out at http://www.inbox.com/earth > > > &g

Re: [Scilab-users] A generic datastructure dump tool?

2016-03-29 Thread Tim Wescott
' y']. (but note that x' means to make a conjugate transpose -- you don't care now, but if you want to move complex numbers around without conjugation, use x.') -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Ph

Re: [Scilab-users] Optimization: First order delay and dead time TF model ID, CUTEr

2016-03-25 Thread Tim Wescott
or a lot of that stuff). You may want to make sure you know what you're optimizing _for_ -- I assume that ym(0) = 0, and that amp, Kpm, bmp and Tdm are your free parameters. If so, you may want to revisit your problem -- Kpm and bmp are redundant; if you're trying to optimize on both o

Re: [Scilab-users] Model ID of First order delay and Dead Time Process

2016-03-12 Thread Tim Wescott
ID-of-First-order-delay-and-Dead-Time-Process-tp4033659p4033709.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at > Nabble.com. > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/m

Re: [Scilab-users] Confusion between Scilab and Scicoslab

2016-03-03 Thread Tim Wescott
e. > Yes. "tic()" sets a stopwatch timer to zero, "toc()" reads the current value. So you write: tic() t = toc(); mprintf("execution time = %f\n", t); and you find out how long things took. > > > > Your help means a lot to me. Thanks for your support i

Re: [Scilab-users] Maxima(Symbolic) Toolbox

2016-02-10 Thread Tim Wescott
: > exec builder_src.sce FWIW I use both Maxima (usually via WxMaxima) and Scilab fairly heavily. I use them separately and have never felt a need to have them merged. Generally my symbolic and my numerical calculations happen at significantly different times in my workflow, so why tr

Re: [Scilab-users] Hilbert transform query

2016-02-05 Thread Tim Wescott
___ > >> users mailing list > >> users@lists.scilab.org > >> http://lists.scilab.org/mailman/listinfo/users > >> > > > > ___ > > users mailing list > > users@lists.scilab.org > > http

Re: [Scilab-users] Logical zero

2016-02-01 Thread Tim Wescott
I believe that a = zeros(n, m) == 1 will do it, but it may not be either the best or the official way.  Sent from my Verizon Wireless 4G LTE smartphone Original message From: shamikam Date: 02/01/2016 12:10 AM (GMT-08:00) To: users@lists.scilab.org Subject: [Scilab

Re: [Scilab-users] Loop query - Scilab 5.5.2

2016-01-18 Thread Tim Wescott
cilab.org > >> http://lists.scilab.org/mailman/listinfo/users > > ___ > > users mailing list > > users@lists.scilab.org > > http://lists.scilab.org/mailman/listinfo/users > > > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.631.7815 Cell: 503.349.8432 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] Scilab conversion of Matlab code - query

2016-01-06 Thread Tim Wescott
u read Te in from a file -- at it's simplest you can use fscanfMat, if your file is the right format. -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.631.7815 Cell: 503.349.8432

Re: [Scilab-users] Is this a known bug?

2015-12-21 Thread Tim Wescott
Thanks Samuel and Jan. I've submitted a bug, #14310, http://bugzilla.scilab.org/show_bug.cgi?id=14310. We'll see what happens, I guess. On Mon, 2015-12-21 at 16:10 +0100, Samuel Gougeon wrote: > Hi Tim, > > Same memory drift with Scilab 5.5.2 and 6.0-a2 on win7_x64 is > o

[Scilab-users] Is this a known bug?

2015-12-20 Thread Tim Wescott
= stacksize(); xtitle(sprintf("iteration #%d, stack used %d", n, ssz(2))); drawnow(); scf(1); clf; drawlater(); plot2d(r(1, :), r(2, :), frameflag = 3, rect = [-150, -150, 150, 150]); drawnow(); end endfunction -- Tim Wescot

Re: [Scilab-users] integrals

2015-12-07 Thread Tim Wescott
tion. On Mon, 2015-12-07 at 14:12 -0300, Pablo Fonovich wrote: > Hi: > As tim stated before, scilab does numerical calculation of integrals, > very usefull for ingeneering problems for example... but does not > provide any function for symbolic calculation of integrals. If you > r

  1   2   >