octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #65298] fft and ifft do not work correctly and


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #65298] fft and ifft do not work correctly and do not agree with Matlab
Date: Mon, 12 Feb 2024 17:03:11 -0500 (EST)

Follow-up Comment #3, bug#65298 (group octave):

The function does not really matter. You can do something like:

octave:14> x = linspace(0,20,1001);
octave:15> y = cos(x)./sqrt(x+1);
octave:16> figure(1)
octave:17> plot(y)
octave:18> figure(2)
octave:19> plot(ifft(fft(y)))

Note, that if you do plot(x,y) and plot(x, ifft(fft(y)) it would be fine too.

Dmitri.
-- 




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65298>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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