很抱歉也许不准确地说出这个问题,但我对Simulink和Stack都很新 .

我正试图在simulink中处理语音信号,就像我在Matlab中所做的那样,我的输出有问题 . 在Matlab中,FFT看起来像这样:

matlab
.

现在,当我用这个信号提供我的simulink模型(缓冲区,窗口matlab函数,fft matlab函数)时,根据我运行模拟的时间,输出如下:

simulink

我觉得很难与Matlab中的内容联系起来 .
为了在Simulink中获得与Matlab完全相同的输出,我该怎么办?

Edit:

我的Simulink模型看起来像这样:

enter image description here
而Function1是:

'function y = window(u)  
coder.extrinsic('windowing');  
y=zeros(2048,1);  
y = windowing(u); %multiplying the signal by the same-length Hamming window  
end'

而Function2是:

'function y = fft1(u)  
coder.extrinsic('abs', 'fft', 'melbankm', 'frq2mel', 'mel2frq');  
y=zeros(2048,1);  
y = abs(fft(u,2048));  
end'

输入信号是: