acoustic emission cumulative energy
3 ビュー (過去 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!