How can I make a check box toggle when plot has different type?
Ältere Kommentare anzeigen
Here is what I have done so far.
[W,fs]=wavread(FileName); %this reads a wave file
[~,~,~,P]=spectrogram(W(:,end),tres,tres/2,fres,fs); %tres is time resolution %and fres is frequency resolution.
I=flipud(-log(P)); %here 'I' gives the spectrogram image in a matrix.
imshow(I,[]); %this line will display the image.
now my question is if I choose a pixel co-ordinate from the image matrix I how can I get its frequency?
1 Kommentar
sadel
am 4 Jun. 2011
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Classical Control Design finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!