How can I make the FREQZ function (in the Signal Processing or Filter Design Toolboxes) produce a plot with a logarithmic frequency axis? The FREQZ function plots frequency on a linear axis. I would like an option to have frequency plot on a logarithmic axis instead.
Prashant Kumar answered .
2025-11-20
ax = findall(gcf, 'Type', 'axes'); set(ax, 'XScale', 'log');
set(ax, 'XLim', [xmin xmax]);
[h, w] = freqz(...);