How can i export all data points from FFT analysis Tool to workspace
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Javisco
am 10 Sep. 2012
Kommentiert: Pranay reddy Third year Electrical Sastra
am 11 Apr. 2021
What i want to do is export all datapoints from FFT analysis tool for THD calculation, but i want to export all the harmonics and its output voltages to calculate the THD manually..if someone knows i would be greatful for your help...
thanks in advance
0 Kommentare
Antworten (1)
Samitha
am 19 Apr. 2013
sps = power_fftscope(bdroot);
%Sampling time
Ts = sps.FFTdata.t(2)-sps.FFTdata.t(1);
%Samples per cycle
Sc = 1/(Ts*sps.fundamental);
%DC component
DC = sps.mag(1);
%Fundamental frequency
Fc = sps.fundamental;
%Total harmonic distortion
THD = sps.THD;
save('sps.mat','sps','-mat');
Everything will be in sps structure.
2 Kommentare
MUHAMMED FASIL
am 29 Okt. 2015
Hi Samitha,
I want only voltage harmonic magnitude Vs harmonic order to be tabulated from Simulink FFT Tool. Kindly explain how it could be done
Siehe auch
Kategorien
Mehr zu Spectral Measurements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!