epislon in normal distribution

2 次查看(过去 30 天)
How to write epislon which is given N(0,0.01) in matlab ?

回答(1 个)

Walter Roberson
Walter Roberson 2020-5-3
ep_mean = 0;
ep_std = 0.01;
epsilon = ep_mean + randn() * ep_std;

Community Treasure Hunt

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

Start Hunting!

Translated by