Link to home
Start Free TrialLog in
Avatar of InteractiveMind
InteractiveMindFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Matlab - Random vector

What's a quick way to create a vector of 10 pseudo-random numbers, each either +1 or -1 (with equal probability)?
(MATLAB 7.5.0 R2007b)

Thanks
ASKER CERTIFIED SOLUTION
Avatar of jmlon
jmlon

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of InteractiveMind

ASKER

Very clever, thanks =)