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

3 visualizaciones (últimos 30 días)
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)

Respuesta aceptada

Walter Roberson
Walter Roberson el 17 de Abr. de 2020
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

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Productos


Versión

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by