Undefined function 'laplace' for input arguments of type 'double'.
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Syed Adeel
il 17 Apr 2020
Commentato: Syed Adeel
il 19 Apr 2020
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)
0 Commenti
Risposta accettata
Walter Roberson
il 17 Apr 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
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!