From: Alan Kavanagh on
Hi,

I have sound pressure level and Frequency from the following:
[MIC1,Faxis] = cpsd(mic1,mic1,win_shape,noverlap,block_len,fsamp);

I can plat his as Sound Pressure Level vs Frequency giving but how do I get this in one third octave form, as in a bar chart with frequency on the x-axis and dB level on the y-axis?

Thanks a lot

Al