How to assign two values randomly among 2 variables?
3 views (last 30 days)
Show older comments
c1 = (b1-a1).*rand(100,1) + a1; c2 = (b2-a2).*rand(100,1) + a2; I have to assign the c1 and c2 values randomly among two variables sensor1 and sensor2. How can I do this? Thanks in advance...
3 Comments
Answers (2)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!