只需一步,快速开始
fs = 1000; n_points = 128; rbw = fs / n_points; num_bin = 7; fin = num_bin * rbw; points_per_period = fs / fin; num_t = n_points / points_per_period; array_t = (0: n_points-1) / fs; signal_input = cos(2 * pi * fin * array_t); fft_v = abs(fft(signal_input,128) / n_points); signal_input_quantization = round(signal_input * 2^16) / 2^16; fft_v_quantization = abs(fft(signal_input_quantization,128) / n_points);
1 条回复
本版积分规则 发表回复 回帖后跳转到最后一页
MATLAB 和 Simulink 基础入门教程、免费正版软件申请,还有更多实用在线技术资源 >>
只需几行代码或App工具! 点击了解详情 >>
MATLAB中文论坛常见问题解决方案 >>
论坛更新:MATLAB中文论坛推出微信小程序欢迎使用噢~
暑期逆袭 立即免费注册 了解详情>>
线上资源搬运整合2 点击查看 >>