imagematlabsignal-processingtime-frequency

To make all peaks clearly visible in Matlab


I finally solved my problem here with lennon310. I have a picture of thousands of thin peaks in Time-Frequency picture. I cannot see all the same time in one picture. Depending on the physical width of my time window, some windows appear and some come visible.

Pictures of my data which I plot by imagesc

enter image description here

enter image description here

enter image description here

All pictures are from the same data points T, F, B.

How can you plot all peaks at once in a picture in Matlab?


Solution

  • You need to resize the image using resampling to prevent the aliasing effect (that craigim described as unavoidable).

    For example, the MATLAB imresize function can perform anti-aliasing. Don't use the "nearest" resize method, that's what you have now.