mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sw-plotting-tool.git
synced 2025-06-10 01:55:59 +00:00
Corrected fourier plotting function
This commit is contained in:
parent
fc36c4c55c
commit
bf8b42d432
Binary file not shown.
@ -17,12 +17,9 @@ function fourierPlotFnc(data, fileSettings, checkboxes, start, stop, yAxis, chan
|
||||
%TO DO
|
||||
end
|
||||
|
||||
%Don't really now what I am doing here.
|
||||
fs = 1 / fileSettings{3}.Value;
|
||||
Nfft = 2^nextpow2(length(yData));
|
||||
yData = fft(yData, Nfft);
|
||||
|
||||
Nspec = 256;
|
||||
Nspec = 1024;
|
||||
wspec = hamming(Nspec);
|
||||
Noverlap = Nspec/2;
|
||||
|
||||
@ -32,13 +29,6 @@ function fourierPlotFnc(data, fileSettings, checkboxes, start, stop, yAxis, chan
|
||||
title(channels{channel});
|
||||
|
||||
|
||||
%Plot the channel
|
||||
% hold on
|
||||
% figure(channel)
|
||||
% spectrogram(yData, 'yaxis');
|
||||
% title(channels{channel});
|
||||
|
||||
%Save plot
|
||||
saveFigs('fourier', figure(channel), channels(channel), path, fileSettings{1}.Value)
|
||||
|
||||
%reset
|
||||
|
Loading…
x
Reference in New Issue
Block a user