Skip to content
Snippets Groups Projects
Commit 3d3fce9e authored by Lisa Schätzle's avatar Lisa Schätzle
Browse files

Update addNoise.m

parent 93d7a0ad
No related branches found
No related tags found
No related merge requests found
......@@ -14,4 +14,6 @@ if noiselevel > 0
errMat = rand(size(F))-.5+1i*(rand(size(F))-.5);
errMat = errMat ./ norm(errMat);
Fn = F + errMat * noiselevel * norm(F);
end
elseif noiselevel == 0
Fn = F;
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment