Generate random number between 0 and a non-integer value

4 次查看(过去 30 天)
For my project I need to generate a random number between 0 and a non-integer value (eg. 0.854, 2.534). How can I do that in Matlab?

采纳的回答

James Tursa
James Tursa 2015-9-11
编辑:James Tursa 2015-9-11
rand * your_non_integer_value

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by