acoustic emission cumulative energy
조회 수: 12 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (1개)
Chunru
2023년 7월 10일
% 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
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulation, Tuning, and Visualization에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!