I do not possess much knowledge about signal processing, so i hope to do a find an answer. I am reading a wav-file and then apply a fft on it. In theory, i think i have a 3 parameters i can use. Time (length of my audio signal), frequeny and amplitude. i defined frequency and time like this:
[y,fs] = audioread('filename');
fftlen=4096;
f=0:1:fftlen-1;
f=f/(fftlen-1)*fs;
t = linspace(0,length(y)/fs,length(y))
Of course there are other parameters i need to define too... But how can i define the axes for mesh? If X is time, Y=frequency and Z= Amplitude for example. I need to do it with a stft. If necessary, i can post my whole code.
No comments:
Post a Comment