(
Jump to the original submission)
Wed 26 Oct 2016 09:02:53 PM UTC, comment #7:
Fixed on the stable branch for 4.2
http://hg.savannah.gnu.org/hgweb/octave/rev/143b120ddb83
|
Wed 26 Oct 2016 06:45:35 AM UTC, comment #6:
Right, that would be clearer.
|
Wed 26 Oct 2016 12:23:37 AM UTC, comment #5:
I think the clearest change would be to redefine df so that it corresponds to what df actually is, right?
|
Tue 25 Oct 2016 05:53:02 PM UTC, comment #4:
Ok, let's give it a try:
f = [ -(ceil((N-1)/2):-1:1)*df 0 (1:floor((N-1)/2))*df ]/N
One can also copy the full line from the original post. Or place the cursor in there and hit the "End" key.
Martin
|
Tue 25 Oct 2016 05:35:43 PM UTC, comment #3:
Try with the
tags.
(And now crossing fingers / hoping that this comes out OK....)
|
Tue 25 Oct 2016 08:58:33 AM UTC, comment #2:
Goodness! Now the asterisks disappear and make part of the formula printed in bold...
So in words: The frequency vector given in the help text has to be divided by N, I think.
|
Tue 25 Oct 2016 08:56:26 AM UTC, comment #1:
Looks like the verbatim environment hides the important part in my suggested correction. It should read:
f = [ -(ceil((N-1)/2):-1:1)df 0 (1:floor((N-1)/2))df ]/N
|
Tue 25 Oct 2016 08:54:50 AM UTC, original submission:
The help text for fftshift states:
I think this is wrong. Let N = 10 and dt = 1, then f would range from -5 to +5, whereas the Nyquist frequency would be 0.5.
To my mind the correct formula is
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Follow 3 latest changes.