How to assign two values randomly among 2 variables?
3 次查看(过去 30 天)
显示 更早的评论
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...
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!