这个错误通常表示数组 file 的长度小于 slc_num,导致在 for 循环中的某个索引值超出了数组 file 的范围。你可以在进入 for 循环之前检查一下数组 file 的长度,以确保其包含足够数量的文件路径。如:
if numel(file) < slc_num
disp('% The number of amplitude is less than the number of scenes, please check the file list !!!');
exit;
end
def_mat = zeros(Ny, Nx, slc_num);
for ii = 1:slc_num
fns = strtrim(char(file(ii)));
def_mat(:, :, ii) = freadbk(fns, Ny, 'float32');
end
单通道实采样,采样率2.4GHz。设计32信道的多相滤波结构数字接收机,给出各信道的通带范围,采用MATLAB工具设计原型滤波器,给出原型滤波器特性。结合相位差分测频算法,输入不同频率的信号,测试数字接收机各信道输出,并完成信号频率测量。