Qurak

Magnitude response of selected windows

Example 2 steps, run in order in one session. Every step was executed against the engine and the output below is what it produced.

Step 1
windows = {DirichletWindow, BartlettWindow, KaiserWindow, HannWindow, HammingWindow, BlackmanWindow};
f = Table[FourierTransform[win[x], x, w], {win, windows}];

No output - this step sets something up for the next one.

Step 2
Partition[MapThread[LogLinearPlot[Evaluate[20 Log[10, # / Limit[#, w -> 0]]], {w, .1, 100}, GridLines -> Automatic, PlotRange -> {Automatic, {0, -80}}, PlotLabel -> #2]&, {f, windows}], 3]//Grid
Output
Grid[{{-Graphics-, -Graphics-, -Graphics-}, {-Graphics-, -Graphics-, -Graphics-}}]

Functions used

Related recipes

All recipes · Function reference · Use this from an MCP client