kopia lustrzana https://github.com/proto17/dji_droneid
Added function for plotting FFTs
rodzic
58ef6b2a94
commit
0dc840945d
|
@ -0,0 +1,6 @@
|
|||
function [figure_handle] = plot_fft(samples, figure_number, title)
|
||||
figure_handle = figure(figure_number);
|
||||
plot(10 * log10(abs(fftshift(fft(samples))).^2));
|
||||
set(gcf, 'Name', title);
|
||||
end
|
||||
|
Ładowanie…
Reference in New Issue