I have a spectrum of sound pressure measurement in one-third octave band starting from 25 Hz to 4000 Hz. I would like to make a staircase plot with x axis in log scale, i.e. a stairs + semilogx plot. Each stair should extend from the lower cutoff and higher cutoff frequencies of each band. How to do it?

 Akzeptierte Antwort

Honglei Chen
Honglei Chen am 30 Mai 2018

1 Stimme

I don't know if this is what you want, but here is a quick example to combine stair plot with log scale in x
stairs(1:10,1:10);
set(gca,'XScale','log');
HTH

1 Kommentar

Arun Raj
Arun Raj am 30 Mai 2018
Yes! Of course this answers my question. Thank you sir!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink 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!

Translated by