octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #64374] [ocatve forge] (control) tf not workin


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #64374] [ocatve forge] (control) tf not working for descrete z transform
Date: Mon, 3 Jul 2023 00:57:16 -0400 (EDT)

Follow-up Comment #4, bug #64374 (project octave):


octave:1> pkg load control
octave:2> z = tf ('z', 0.2)

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

 y1:  z

Sampling time: 0.2 s
Discrete-time model.
octave:3> debug_on_error(1)
octave:4> H = 1/(z-0.9)
error: lti_group: systems must have identical sampling times
error: called from
    __lti_group__ at line 63 column 5
    __sys_group__ at line 39 column 14
    minus at line 43 column 7
stopped in __lti_group__ at line 63
[/home/dima/.local/share/octave/api-v58/packages/control-3.6.0/@lti/__lti_group__.m]

63:     error ("lti_group: systems must have identical sampling times");
debug> whos
Variables visible from the current scope:

variables in scope: __lti_group__:
/home/dima/.local/share/octave/api-v58/packages/control-3.6.0/@lti/__lti_group__.m

  Attr   Name        Size                     Bytes  Class
  ====   ====        ====                     =====  ===== 
    f    dim         1x7                          7  char
    f    lti1        1x1                          8  lti
    f    lti2        1x1                          8  lti
    f    retlti      2x2                          8  lti

Total is 10 elements using 31 bytes

debug> dim
dim = blkdiag
debug> lti1 
Sampling time: 0.2 s
debug> lti2 
debug> retlti 
Sampling time: unspecified


Dmitri.
-- 



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64374>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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