bugGNU Octave - Bugs: bug #57764, Bode plot rerun problem

 
 

bug #57764: Bode plot rerun problem

Submitter:  None
Submitted:  Fri 07 Feb 2020 01:45:47 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Nick Christodoulou Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 5.2.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 07 Feb 2020 01:51:06 PM UTC, comment #1: 

You created a variable named tf but tf is the function that you want to use from the control pkg.

change the variable name to tf1 or some other name.

Doug Stewart <dastew>
Fri 07 Feb 2020 01:45:47 PM UTC, original submission:  

Hello
I am running the following script:
 

pkg load control;
clear global;
s = tf('s');
tf = 1/(1+s*0.318e-8);
bode(tf):
+verbatim-

The first run time the Bode plots appears well. When I try to rerun the script the following error appears:


>> Bode

error: freqresp: second argument 'w' must be a real-valued vector of frequencies
error: called from
    freqresp at line 52 column 5
    subsref at line 39 column 13
    Bode at line 3 column 3
>>

Any help please?

Regards
 Nick

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dastew (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-07 mtmiller StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code