[Top][All Lists]

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

[Octave-bug-tracker] [bug #43895] freqz plot should extend to end of ran

From: Mike Miller
Subject: [Octave-bug-tracker] [bug #43895] freqz plot should extend to end of range, not 1 data point short.
Date: Wed, 04 Feb 2015 13:50:31 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.91 Safari/537.36

Follow-up Comment #10, bug #43895 (project octave):

You didn't paste the results of getting the x and y data from the plot, but
someone on the list already provided that. Including here for completeness in
case this gets forgotten:

>> get(h,'xdata')

ans =

         0    0.2000    0.4000    0.6000    0.8000    1.0000 1.2000    1.4000 
  1.6000    1.8000    2.0000

>> get(h,'ydata')

ans =

   -2.2789    0.3236   14.0514   -0.6138   -5.8441   -7.2346   -5.8441  
-0.6138   14.0514    0.3236       Inf

So this is one more point than what is returned, and one more point than what
Octave currently plots. So I think we all agree that the return value is
correctly 10 points, but the plot should extend to the pi or 2*pi value.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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