1-D Fractional Brownian Motion Synthesis

This example shows how to generate a fractional Brownian motion signal using the wfbm function.

A fractional Brownian motion (fBm) is a continuous-time Gaussian process depending on the Hurst parameter 0 < H < 1. It generalizes the ordinary Brownian motion corresponding to H = 0.5 and whose derivative is white noise. The fBm is self-similar in distribution and the variance of the increments is given by

Var(fBm(t) - fBm(s)) = v abs(t-s)^(2H),

where v is a positive constant. The fBm exhibits long-range dependence for H > 0.5 and short or intermediate dependence for H < 0.5.

For purposes of reproducibility, set the random seed to the default value. Generate fractional Brownian motion with length 1000 for H = 0.3. Plot the result.

rng default
H = 0.3;
len = 1000;
fBm03 = wfbm(H,len,'plot');

在这里插入图片描述

Generate fractional Brownian motion with length 1000 for H = 0.7. Plot the result. Because H > 0.5, the fractional Brownian motion exhibits a stronger low-frequency component and has, locally, less irregular behavior.

rng default
H = 0.7;
fBm07 = wfbm(H,len,'plot');

在这里插入图片描述

Confirm the previous syntax is equivalent to generating fractional Brownian motion using the orthogonal db10 wavelet and six reconstruction steps.

rng default
w = 'db10';
ns = 6;
fBm07x = wfbm(H,len,w,ns);
max(abs(fBm07-fBm07x))

ans = 0

See https://www.mathworks.com/help/wavelet/gs/one-dimensional-fractional-brownian-motion-synthesis.html

在这里插入图片描述

See https://www.mathworks.com/help/wavelet/ref/wfbm.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值