HLP
HLP
Example:
//mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes,
Graphics, Controls, Forms, Dialogs, Fourier;
type
TForm1 = class(TForm)
SpeedButton1: TSpeedButton;
procedure SpeedButton1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
A, B, x, y : array of double;
implementation
{$R *.DFM}
Var
j,L: Integer;
begin
L:=1024;
SetLength(A, L);
SetLength(B, L);
SetLength(x, L);
SetLength(y, L);
for j:= 0 to High(x) do
begin
B[j] := cos(j/7);
A[j] := cos(j/10);
end;
x[j] := copy(A);
y[j] := copy(B);
fft(x,y);
end;
//mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm