NUM = 256; x=(0:NUM-1)*16+512; y=(0:NUM-1)*32+4096; xy=x+y*j;
result=fix(fft(xy)/NUM); dec2hex(abs(result)); 这个代码为什么不对?提示 ??? Error using ==> dec2hex First argument must contain non-negative integers.
Error in ==> fft4tb at 8 dec2hex(abs(result)); %使用hex显示 |