Skip to main content

10.3b STFT labs

Source: Lab ideas from Computational Physics (Landau, Páez, Bordeianu), §10.3. Original drills. Continues 10.3.

Explorer​

Pure Python. No NumPy.

Formula refresh​

Warm up: pick the matching equation among lookalikes (same walk as the theory lesson).

Labs​

Activity: Rectangular ww

Define w(u)=1w(u)=1 if ∣u∣≤0.5|u|\le 0.5 else 00. Print w(−0.2)+w(0.7)w(-0.2)+w(0.7) with 10 decimals.

No input.

Write-ups​

0/1 solved
10.3b.W1

Using “window”, “spectrogram”, and “wavelet”, explain:

What is the main limitation of a fixed-width STFT compared to wavelets?

Minimum 3 words. Your answer must include: “window”, “spectrogram”, “wavelet”.

0 words/ 3 min

Meet the writing requirements, then you can open the model answer.

Next: 10.4 Wavelet transforms.