random gaussian noise with zero mean and unity variance

Subscript indices must either be real positive integers or logicals.
Error in fffff
kk1=kk1(1+(0.1).*array_gaussian_noise);

 Accepted Answer

You are probably missing a multiplication (or other) operator.
Try this:
kk1 = kk1.*(1+(0.1).*array_gaussian_noise);

More Answers (0)

Categories

Find more on Random Number Generation in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!