function or algorithm to analyse signal content

1 回表示 (過去 30 日間)
Elinor Ginzburg
Elinor Ginzburg 2020 年 9 月 15 日
回答済み: Xavier 2020 年 9 月 15 日
Hello,
I'm trying to classify an audio signal I have by the following table which is taken from page 15 in this article
I'm not sure how to do it using matlab. perhaps anyone could refer me to some useful functions? the code I've tried is this one which plots the signal content in time domain:
% get input paths
input = importdata('paths\input_p1.txt');
% create audio object for the algorithm
[signal, fs] = audioread(char(input(index)));
f0 = figure;
t = 0:1/fs:1-1/fs;
signal = resample(signal,1,90)';
plot(t, signal);
title('Signal Content');
And I got something that looks like `Narrowband random signal` ad shown below
but I wasn't sure I've understood it correctly, so i'de appreciate if anyone could explain to me how exactly can I plot the signal content using matlab.
Thank you

採用された回答

Xavier
Xavier 2020 年 9 月 15 日
MATLAB has a built-in FFT function (documentation) which may be of use

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with Signal Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by