gusucode.com > 交通系统MCM-2009A题答案matlab源码程序 > genR.m
function [res] = genR () % generates random variable: 1+/-maxNoise global maxNoise; res = 1-maxNoise+2*maxNoise*rand(); end