Represent a variable with probability in Matlab

2 views (last 30 days)
Hello all,
Assume that I have an equation: y = x + n , in which:
  • y is output
  • x is input
  • n is noise
The occurrence probability of n in the equation above is just 4%. How I can represent n in matlab ?
Thanks all,

Answers (0)

Categories

Find more on Parallel Computing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!