How to export the FFT analysis data from the FFT Analyzer app in the "powergui" block to the base workspace?
38 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 22 de En. de 2019
Editada: MathWorks Support Team
el 23 de Jun. de 2025
Is it possible to export the FFT analysis data from the graphical interface of the FFT Analyzer app in the "powergui" block to the base workspace?
Respuesta aceptada
MathWorks Support Team
el 23 de Jun. de 2025
Editada: MathWorks Support Team
el 23 de Jun. de 2025
In MATLAB R2023b, it is not possible to directly export the FFT analysis from the graphical interface opened from the "powergui" block. The workaround is to use command-line tools to obtain the desired data in the base workspace by following the steps below.
1. Get initial default structure:
FFTDATA = power_fftscope(ScopeData);
2. Modify the "FFTDATA" structure to have desired options and settings, for example:
FFTDATA.cycles = 10;
FFTDATA.fundamental = 50;
FFTDATA.maxFrequency = 500;
3. Update the data structure:
FFTDATA = power_fftscope(FFTDATA)
The attached files demonstrate this workflow with a known dataset.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Standard File Formats en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!