How extracted envelop signal in matlab 2013

4 ビュー (過去 30 日間)
Esraa abd Altoni
Esraa abd Altoni 2020 年 9 月 12 日
回答済み: Star Strider 2020 年 9 月 12 日
[y,fs]=wavread(‘fil.wav’) Db=mag2db(y) How find envelop of db??!!

採用された回答

Star Strider
Star Strider 2020 年 9 月 12 日
Use the hilbert function, specifically:
DbEnv = abs(hilbert(Db));
Example —
t = 0:0.01:5; % Create Data
s = sin(2*pi*t) .* cos(2*pi*10*t); % Create Data
psenv = abs(hilbert(s)); % Upper Envelope
nsenv = abs(hilbert(-s)); % Lower Envelope
figure
plot(t, s, 'LineWidth',1.5)
hold on
plot(t, psenv, '-r', 'LineWidth',2)
plot(t, -nsenv, '-g', 'LineWidth',2)
hold off
grid
legend('Signal','Upper Envelope','Lower Envelope', 'Location','N')
.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by