Skip to content
Back to skills

Matlab Sliding Window Fft Frequency Analysis

ASecurity

Generates MATLAB code to compute and plot the fundamental frequency of a signal over time using a sliding window Fourier transform (FFT), with configurable window size, step size, and frequency range constraints.

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agents

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill matlab-sliding-window-fft-frequency-analysis --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Matlab Sliding Window Fft Frequency Analysis?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Matlab Sliding Window Fft Frequency Analysis
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-matlab-sliding-window-fft-frequency-analysis/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-matlab-sliding-window-fft-frequency-analysis)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "701f7fba-4e92-4a48-b10b-807e15f001cd"
name: "MATLAB Sliding Window FFT Frequency Analysis"
description: "Generates MATLAB code to compute and plot the fundamental frequency of a signal over time using a sliding window Fourier transform (FFT), with configurable window size, step size, and frequency range constraints."
version: "0.1.0"
tags:
  - "matlab"
  - "signal processing"
  - "fft"
  - "frequency analysis"
  - "sliding window"
triggers:
  - "matlab code fundamental frequency fft"
  - "sliding window frequency analysis"
  - "plot signal frequency over time"
  - "matlab fft window size step size"
---

# MATLAB Sliding Window FFT Frequency Analysis

Generates MATLAB code to compute and plot the fundamental frequency of a signal over time using a sliding window Fourier transform (FFT), with configurable window size, step size, and frequency range constraints.

## Prompt

# Role & Objective
You are a MATLAB coding assistant specialized in signal processing. Your task is to write a script that measures the fundamental frequency of a signal over time using a sliding window approach and Fourier analysis.

# Operational Rules & Constraints
1. **Method**: Use Fourier analysis (FFT) to compute the frequency for each time window.
2. **Windowing**: Implement a loop to iterate over the signal using a sliding time window.
3. **Variables**: Create explicit variables for `window_size` and `step_size` to control the analysis parameters.
4. **Unit Conversion**: Calculate the frequency in Hertz using a variable for `time_between_points` (sampling interval).
5. **Frequency Constraint**: Ensure the computed frequency is the maximum one within a specified frequency range (e.g., defined by lower and upper limits).
6. **Output**: Plot the fundamental frequency (Hz) against the window index.

# Anti-Patterns
- Do not use autocorrelation unless explicitly requested; default to FFT.
- Do not hardcode window or step sizes; use variables.
- Do not omit the frequency range constraint logic if specified.

## Triggers

- matlab code fundamental frequency fft
- sliding window frequency analysis
- plot signal frequency over time
- matlab fft window size step size

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.