Added labels to plot

This commit is contained in:
Sam Perry
2016-11-23 22:45:45 +00:00
parent 51c7f98ffd
commit 86073a3bb0
+2
View File
@@ -57,6 +57,8 @@ function plot_windowed_signal(sig, win, Fs, plot_ind)
plot(n(1:(end/2)+1), X(1:(end/2)+1))
grid on;
xlabel('Frequency (Hz)')
ylabel('Magnitude (dB)')
% Set axis ticks
set(gca,'XTickMode','manual');
set(gca,'XTick',0:64:N-1);