I am unable to make the new vesion of spectrumAnalyzer show distortion measurements.

23 views (last 30 days)
I have a Matlab script that has worked fine in R2021b and earlier which I still use today. It simply reads my audio on a Macbook Pro running MacOS 12 and presents a spectrum on the analyzer. Moving that script to the new R2025b and modifying the script to call the new spectrum analyzer seems to work to present the spectrum but when I select "Measurements" and "Distortion" the distortion data appears but does not seem to find the main tone and in-turn the harmonics. I am stuck using the old version of Matlab since that works. I think I may be missing a configuration command on the new analyzer that wasn't required on the old one. The tone below is on CH1 and CH2 identically. CH2 appears in front of CH1.
  1 Comment
Khodour Al Kadry
Khodour Al Kadry on 21 Nov 2025 at 19:14
Hi Richard
What you are observing is a known issue when the SpectrumUnits='dBFS' and distoriton measurements are enabled. We have alreadt fixed this issue for R2025b Update2 which will be avaiable for customers download soon.
The issue should be fixed in R2026a. The R2026a prerelease is avaiable for our customer to download

Sign in to comment.

Answers (0)

Categories

Find more on Downloads in Help Center and File Exchange

Products


Release

R2025b

Community Treasure Hunt

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

Start Hunting!