query on DFT plotting
显示 更早的评论
x_mags=abs(fft(x));
plot(x_mags);
xlabel('DFT bins');
ylabel('magnitude');
%plotting the DFT(norm freq)
num_bins=length(x_mags);
plot([0:1/(num_bins/2 -1):1], x_mags(1:num_bins/2));
xlabel('norm frequency (\pi rads/sample)');
ylabel('magnitude');
so the text i bolded and underlined, why are the limits in plot in such way?
is there any specific reason?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Schedule Model Components 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!