Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Introducing Gaussian errors to data (Matlab)

  1. Apr 30, 2010 #1
    1. The problem statement, all variables and given/known data

    I need to introduce Gaussian errors to a set of velocity measurements. The errors should have mean zero and standard deviation .2.
    v = [4.6 3.8 7.2 9.7 6.4];

    3. The attempt at a solution

    I tried to use Matlab's imnoise command (J=imnoise(v,'gaussian',0,.04), but based on the answers I got, I think that this was not the appropriate approach to this problem (the answers are all between 0 and 1, not close to the original velocity data).
     
  2. jcsd
  3. Apr 30, 2010 #2
    >> help random
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook