フィルターのクリア

Vectors must be the same length with .wav file

1 回表示 (過去 30 日間)
Voltarian
Voltarian 2020 年 3 月 31 日
編集済み: Voltarian 2020 年 4 月 1 日

回答 (1 件)

MaryD
MaryD 2020 年 3 月 31 日
t = linspace(0, length(y)/fs,length(y));
I think you use linspace in wrong way. "y = linspace(x1,x2,n) generates n points. The spacing between the points is (x2-x1)/(n-1)."
try
t=0:length(y)/fs:length(y)

カテゴリ

Help Center および File ExchangeAudio I/O and Waveform Generation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by