how to generate all the values within the range of 1:4.5

2 次查看(过去 30 天)
how to generate the decimal range of values within 1:4.5

回答(1 个)

madhan ravi
madhan ravi 2019-4-13
(4.5-1)*rand(10,1)+1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by