help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: control 2.8.2 released


From: Thomas D. Dean
Subject: Re: control 2.8.2 released
Date: Mon, 15 Jun 2015 10:51:01 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

I deleted the control-2.8.2 directory and installed again.

Most of the warnings went away.

And, defining a tf seems to work.

Tom Dean

octave:2> pkg -forge install control
In file included from __control_slicot_functions__.cc:24:0:
sl_tg04bx.cc: In function 'octave_value_list F__sl_tg04bx__(const octave_value_list&, int)': sl_tg04bx.cc:79:41: warning: 'octave_idx_type Array<T>::length() const [with T = double; octave_idx_type = int]' is deprecated (declared at /usr/local/include/octave-4.1.0+/octave/../octave/Array.h:269) [-Wdeprecated-declarations]
         octave_idx_type ip = pr.length ();  // ip: number of finite poles
                                         ^
sl_tg04bx.cc:80:41: warning: 'octave_idx_type Array<T>::length() const [with T = double; octave_idx_type = int]' is deprecated (declared at /usr/local/include/octave-4.1.0+/octave/../octave/Array.h:269) [-Wdeprecated-declarations]
         octave_idx_type iz = zr.length ();  // iz: number of zeros
                                         ^
In file included from __control_slicot_functions__.cc:42:0:
sl_ident.cc: In function 'octave_value_list F__sl_ident__(const octave_value_list&, int)': sl_ident.cc:184:47: warning: 'octave_idx_type Array<T>::nelem() const [with T = octave_value; octave_idx_type = int]' is deprecated (declared at /usr/local/include/octave-4.1.0+/octave/../octave/Array.h:274) [-Wdeprecated-declarations] octave_idx_type n_exp = y_cell.nelem (); // number of experi
                                               ^
In file included from __control_slicot_functions__.cc:43:0:
sl_ib01cd.cc: In function 'octave_value_list F__sl_ib01cd__(const octave_value_list&, int)': sl_ib01cd.cc:97:47: warning: 'octave_idx_type Array<T>::nelem() const [with T = octave_value; octave_idx_type = int]' is deprecated (declared at /usr/local/include/octave-4.1.0+/octave/../octave/Array.h:274) [-Wdeprecated-declarations] octave_idx_type n_exp = y_cell.nelem (); // number of experi
                                               ^
In file included from __control_slicot_functions__.cc:44:0:
sl_ib01ad.cc: In function 'octave_value_list F__sl_ib01ad__(const octave_value_list&, int)': sl_ib01ad.cc:148:47: warning: 'octave_idx_type Array<T>::nelem() const [with T = octave_value; octave_idx_type = int]' is deprecated (declared at /usr/local/include/octave-4.1.0+/octave/../octave/Array.h:274) [-Wdeprecated-declarations] octave_idx_type n_exp = y_cell.nelem (); // number of experi
                                               ^
warning: directory /home/tomdean/octave/control-2.8.2 previously lost
For information about changes from previous versions of the control package, run 'news control'.
octave:3> pkg load control
octave:4> s = tf('s');
octave:5> a_eqn = a0/( (1+s/w1) * (1+s/w2) )
error: 'a0' undefined near line 1 column 9
octave:5> a0=1e5;w1=1e4;w2=1e6;
octave:6> a_eqn = a0/( (1+s/w1) * (1+s/w2) )

Transfer function 'a_eqn' from input 'u1' to output ...

                1e+05
 y1:  --------------------------
      1e-10 s^2 + 0.000101 s + 1

Continuous-time model.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]