for x = linspace ( (n-1)/2, (n-1)/2, n ).
should be
 for x = linspace ( -(n-1)/2, (n-1)/2, n ).

Thank you, great software

------------------------------------------------------------------------------
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to