|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #52929] Impulse Versus Step |
Date: | Thu, 18 Jan 2018 19:12:30 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 |
URL: <http://savannah.gnu.org/bugs/?52929> Summary: Impulse Versus Step Project: GNU Octave Submitted by: None Submitted on: Fri 19 Jan 2018 12:12:29 AM UTC Category: Octave Forge Package Severity: 3 - Normal Priority: 5 - Normal Item Group: Inaccurate Result Status: None Assigned to: None Originator Name: Carlos Montalvo Originator Email: address@hidden Open/Closed: Open Discussion Lock: Any Release: 4.0.0 Operating System: GNU/Linux _______________________________________________________ Details: The following code produces two different lines but mathematically it should be the same. That is if you solve these two equations by hand they should produce the same result. I've mathematically and experimentally proven that the impulse() function in the control system toolbox produces inaccurate results. The step() function works just fine. That is the step() function produces accurate results. Not sure it if helps but the issue does not occur in MATLAB or Python. sys_step = tf([3],[1 5]); step(sys_step) figure() sys_impulse = tf([3],[1 5 0]); impulse(sys_impulse) I suggest taking a look at the impulse() function and determining what the error could be. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?52929> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |