Re: [Scilab-users] Question syslin

2014-12-16 Thread Serge Steer


- Mail original -
 De: Andreas Ladanyi andreas.lada...@gmx.net
 À: users@lists.scilab.org
 Envoyé: Mardi 16 Décembre 2014 11:01:25
 Objet: [Scilab-users] Question syslin
 
 Hi,
 
 i am reading the help of scilab to understand the syslin function. In
 the help i can see 3 options for the dom parameter. There is an option
 for a sampled system 'n'.
example syslin(0.01,...) defines a discrete linear dynamical system with sample 
period equal to 0.01.

 
 In this help there is no example for a sampled system. So what is the
 difference between a discrete system and a sampled system ? What is the
 difference between an discrete system d and an sampled system n for syslin ?
 
 In the most examples i read in the web syslin is called with dom='c'.
 
 cheers,
 Andreas
 ___
 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


Re: [Scilab-users] Command datafit for a bivarate model function z=f(x, y)

2014-12-16 Thread Serge Steer
Here is a working code

function z=!z(x,y,p)
  z=p(1)*x.^2 + p(2)*y.^2
endfunction
pg=[5;6]//parameter of fictitious data
X=0:5;Y=0:5; Z=!z(X,Y,pg)
M=[X;Y;Z];//measurement matrix, 3 rows, 6 colomns  
function e=!e(p,m),
  x=m(1), y=m(2); z=m(3),
  e=z-!z(x,y,p)
endfunction
p0=[2;3];
[p,err]=datafit(1,!e,M,p0)
z=!z(X,Y,p)

Serge Steer
- Mail original -
 De: Jens j.s.st...@hslmg.de
 À: users@lists.scilab.org
 Envoyé: Lundi 15 Décembre 2014 23:00:43
 Objet: [Scilab-users] Command datafit for a bivarate model function z=f(x,
 y)
 
 I tried to follow the pattern for data fit given in the thread
 http://mailinglists.scilab.org/Convert-x-y-z-data-into-a-z-f-x-y-function-td4026897.html#a4026925
 for the simple bivariate function
  z=p(1)*x.^2 + p(2)*y.^2
 by this script:
 
 mode(0),   lines(0),   clc(), clear
 deff( 'z=!z(x,y,p)','z=p(1)*x.^2 + p(2)*y.^2')//model function
 pg=[5;6]//parameter of fictitious data
 X=[0:5];Y=[0:5]; Z=!z(X,Y,pg)
 M=[X;Y;Z];//measurement matrix, 3 rows, 6 colomns
 deff(' e=!e(p,m)','x=M(1), y=M(2); z=M(3),e=z-!z(x,y)')//defect
 (critereon- , error-,) function
 p0=[2;3];
 [p,err]=datafit(1,!e,M,p0)
 err,
 z=!z(X,Y,p)
 
 However the script just returns p0 as solution. Would anyone kindly help me
 to find the flaw?
 
 Kind regards
 Jens
 
 
 
 
 --
 View this message in context:
 http://mailinglists.scilab.org/Command-datafit-for-a-bivarate-model-function-z-f-x-y-tp4031533.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
 
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Comparison of SCILAB to other Analytical Applications

2014-12-16 Thread Tim Wescott
On Mon, 2014-12-15 at 19:45 +, Beck, Michel wrote:
 Hi Jeff,
 
 I work for a large Energy Company in North America and we are finally trying 
 to get scientific in our choice of analytical software (for about 10-20 
 users).
 Would you please point me to sources where I can find information on the Pros 
 and Cons of SCILAB to fill in the attached RFI?.

Speaking purely as a user of Scilab and a past user of Matlab:

* With Scilab you don't have to mess around with a license server.

* With Scilab you don't have to get budgetary approval for every new
toolbox (and if we're talking Matlab and 20 users, a toolbox costs as
much as a nice new car).

* Scilab integrates support for signal processing and control system
analysis much better than Matlab.

* The language that Scilab implements is much closer to being
object-oriented than competitors, without being obtrusive with it (it
still has it's quirks, but it's useful enough that I've made data-type
libraries in projects, e.g. for quaternion arithmetic).

It does have a downside that it has fewer flashy bells and whistles than
Matlab -- but most of the Matlab bells and whistles have more flash than
use, and Scilab seems to be finding good analogs for the really useful
ones.

-- 

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