Clear Filters
Clear Filters

How to save image of cqt (Constant-Q nonstationary Gabor transform) from KHz to Hz

5 views (last 30 days)
I want to save the image of cqt.but the result is kHz,I want Hz

Accepted Answer

Star Strider
Star Strider on 19 Mar 2022
Try something like this —
load handel
figure
cqt(y,'SamplingFrequency',Fs)
Ax = gca;
ytv = Ax.YTick;
Ax.YTickLabel = compose('%4d',ytv*1E+3);
Ax.YLabel.String = 'Frequency (Hz)';
.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!