Filter löschen
Filter löschen

acoustic emission cumulative energy

12 Ansichten (letzte 30 Tage)
Awais
Awais am 10 Jul. 2023
Beantwortet: Chunru am 10 Jul. 2023
I am beginner user of MATLAB and working on acoustic emissions. I want to ask that how we can find the acoustic emission cumulative energy of an recorded audio file or signal?

Antworten (1)

Chunru
Chunru am 10 Jul. 2023
% signal
amp = sqrt(2);
f0 = 100;
fs = 1000;
% simulated signal (replace it with audio file)
x = amp*sin(2*pi*f0*(0:1/fs:5)');
dt = 1/fs;
% cumulative energy (not sure your definition of the term)
y = cumsum(x.^2)*dt;
subplot(211); plot(x);
subplot(212); plot(y); grid on

Kategorien

Mehr zu Simulation, Tuning, and Visualization finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by