フィルターのクリア

how to preform Laplace transform?

3 ビュー (過去 30 日間)
Adham Elkhouly
Adham Elkhouly 2021 年 4 月 26 日
コメント済み: Adham Elkhouly 2021 年 4 月 26 日
for i=late+1:length(x)
delayed_signal(i) = x(i)+alpha*x(i-late);
end
app.y = delayed_signal;
app.x_n = x;
x_s = laplace(x);
y_s = laplace(delayed_signal);
h_s = x_s/y_s;
I am tring to Laplace tranform the variable 'x': a .wav folder, read through 'audioread
and 'y' the same file with an echo, and then divide them and put them in 'h_s', but I keep getting the following error at the line where I define 'y_s'
Undefined function 'laplace' for input arguments of type 'double'
can someone please explain what this line means and how to fix it? - TIA

回答 (1 件)

Matt J
Matt J 2021 年 4 月 26 日
編集済み: Matt J 2021 年 4 月 26 日
The laplace() command only works on Symbolic Math Toolbox variables, e.g.,
syms y(t)
y=exp(-t).*heaviside(t);
Y=laplace( y )
Y = 
  6 件のコメント
Matt J
Matt J 2021 年 4 月 26 日
or deconv().
Adham Elkhouly
Adham Elkhouly 2021 年 4 月 26 日
I am a bit of a beginner in using MATLAB, so I don't really know what FFT is but I will look it up

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by