I am unable to make the new vesion of spectrumAnalyzer show distortion measurements.
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.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. 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. spectrumanalyzer MATLAB Answers — New Questions









