开发者

Identify this programming language, it uses a '.m' extension

len = length(range);
K = 2^nextpow2(2*len - 1);
halfK = round(K/2);
U = zeros(halfK, 1);
centfreqs = data.model.cochlea.centfreqs;

for i = 1 : data.model.cochlea.gt.nch % number of channels
    x = data.au(range, i).*window;
    X = abs(fft(x, K));
    bin = round(2*centfreqs(i)*K/data.fs);
%     if i==4 plot(X); pause; end
    X(bin : halfK) = 0;
 开发者_开发技巧   U = U + X(1:halfK);
end
U = U';

the code came from here


Looks to me like MATLAB.


.m is used for either matlab or objective-c

I don't remember how matlab looks like in detail, but looking at the link it seems like matlab.


It's a MATLAB file. You can verify this if you read the Report in the docs folder of the project.


I was going to say Mathematica but there are far too few square brackets. =) Definitely Matlab.


looks like matlab.


Thankfully it's not MUMPS.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜