why I cant use laplace?

3 ビュー (過去 30 日間)
Pablo Álvarez García
Pablo Álvarez García 2022 年 1 月 6 日
回答済み: Steven Lord 2022 年 1 月 6 日
A=1;
Fs=10000;
f=0.01;
T=3*(1/f);
c=50;
t=0:1/Fs:T-1/Fs;
ut=A*square(2*pi*f*t,c);
plot(t,ut)
Us=laplace(ut)
Check for incorrect argument data type or missing argument in call to function 'laplace'.

採用された回答

Steven Lord
Steven Lord 2022 年 1 月 6 日
which -all laplace
/MATLAB/toolbox/symbolic/symbolic/@sym/laplace.m % sym method
The laplace function is only defined for symbolic inputs. Your ut is not symbolic, it is a numeric array.
A=1;
Fs=10000;
f=0.01;
T=3*(1/f);
c=50;
t=0:1/Fs:T-1/Fs;
ut=A*square(2*pi*f*t,c);
whos ut
Name Size Bytes Class Attributes ut 1x3000000 24000000 double

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by