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

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

[Octave-bug-tracker] [bug #56560] Error by addition of two frd objects (


From: Jonas Frischknecht
Subject: [Octave-bug-tracker] [bug #56560] Error by addition of two frd objects (control package)
Date: Thu, 27 Jun 2019 05:08:53 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?56560>

                 Summary: Error by addition of two frd objects (control
package)
                 Project: GNU Octave
            Submitted by: jonas24
            Submitted on: Thu 27 Jun 2019 09:08:52 AM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

The following code

% generate a frequency vector and response data 
freq = logspace(1,4);
resp = 1.23*(freq).*exp(i*2*freq);
% Create a FRD model
sysTEST = frd(resp,freq,1e-3);
NewSys = sysTEST + sysTEST;

gives the error, that the systems must have identical sampling times (works
with Matlab).

By calling the frd function without the sampling time it works also in ovtave.
But in that case it isn't possible to set the sampling time like this:

NewSys.Ts = 1e-3;

The error "invalid sampling time" appears.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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