Contourf plot Yscale log2 vs log10
古いコメントを表示
I have frequencies ranging from 2-194 in a base-2 logarithmic spacing (10 voices per octave) like this:
frex = 2.^([10:76]/10);
I want to plot a spectrogram with contourf using them and make the yaxis logarithmically scaled. I know that the below command does this for base-10 log, but how can I do it for base-2 log? I saw some other questions asking similar, but I don't think the answers actually changed the scale of the y-axis. One person said that log10 and log2 scale shape will be the same. Is that correct?
set(gca,'YScale','log')
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Discrete Fourier and Cosine Transforms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!





