我在'z'中得到了一个矩阵,我想对该矩阵进行傅里叶变换,但在答案中它给出了一个像'z'一样的矩阵。为什么我的数据傅里叶变换错误?
%formula I(Q, t) = A exp[(-t/tau_beta)^beta]
% beta
clear;
beta = [0.4 0.6 0.8 1];
tau_beta = [1 10 100 1000];
t = [0:1:1e4];
% Division of (t/tbeta)
for m = 1:1:4
y(m, :) = t/tau_beta(m);
end
A = 1;
for k = 1:4
for j = 1:1:10001
for i = 1:1:4
%z(i, :) = y(j, :).^beta(i)
z(i+(k-1)*(4), j) = A*exp(-y(i, j).^beta(k));
zet(i+(k-1)*(4), j) = y(i, j).^beta(k);
%I_temp(i, :) = z(i, :);
%I(i, j, :) = I_temp(i, :);
% Fourier Transform
FT(i+(k-1)*(4), j) = abs(fft(z(i+(k-1)*(4), j)));
end
end
end