Undefined function 'laplace' for input arguments of type 'double'.

I want to take the place of noise generated through randn function but it gives followung error. Is it possible to take laplace of Noise vector. For example
noisevec = 0.55e-1 * sqrt (0.707) * randn ((1,100))
y = laplace (noisevec)

 採用された回答

Walter Roberson
Walter Roberson 2020 年 4 月 17 日

0 投票

laplace() is only defined for symbolic values.
With numeric noisevec, if you were to use
y = laplace(sym(noisevec))
you would find that the answer would be the same as
sym(noisevec)/s
laplace() is mostly intended for formula, not for numeric values. Each entry in the array would be treated independently as if it were a distinct formula. MATLAB does not provide a discrete laplace transform.
There are connections to the Z transform

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

リリース

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by