measure-spectrogram-clusters

An example of measuring the size of clusters found in spectrograms
16 téléchargements
Mise à jour 18 fév. 2024

Measure clusters in Spectrogram

Overview

This example demonstrates a way to measure the size of point clusters in spectrograms (time-freqeuncy spectrum). In sensor data analysis or loudspeaker nonlinearity measurements we would come across a need to measure the disturbance observed in spectrograms. The dataset utilized for this study has been artificially created. Two different scenarios have been shown -- one with a large cluster of points in a spectrogram and the second one having a small, low-level cluster in the presense of a strong signal content nearby. It is important to underscore that the strategy adopted in this instance is predicated solely on rudimentary image processing techniques. We explicitly refrain from the application of neural network methodologies in this process. This results in an efficient process that gets you the results fast and reliably. A detailed discussion is included in the live scritps.

How to get started

open and run the live script: measureSpectrogram.mlx

Files description

createClusterSpectrogram.mlx -- generates the synthetic data for analysis smallCluster.png, bigCluster.png -- spectrogram plots generated by createClusterSpectrogram.mlx timeShaping.m -- return a vector with white noise except at the middle portion it is the input signal. measureSpectrogram.mlx -- analyze the cluster size in the spectrograms in the png files. createMask.m, createMask2.m -- functions that extracts parts of the image, these files are created from measureSpectrogram.mlx

License

The license is available in the License.txt file in this GitHub repository.

Relevant Industries

signal processing, audio signal analysis, sensors signal analysis, anomaly detection

Relevant Products

  • MATLAB®
  • Signal Processing Toolbox™
  • Image Processing Toolbox™

Copyright 2024 The MathWorks, Inc.

Citation pour cette source

Francis Tiong (2024). measure-spectrogram-clusters (https://github.com/mathworks/measure-spectrogram-clusters), GitHub. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2023b
Compatible avec les versions R2023a et ultérieures
Plateformes compatibles
Windows macOS Linux
Tags Ajouter des tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées

Version Publié le Notes de version
1.0.1

Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.