Generating random variables with decimal points

조회 수: 1 (최근 30일)
Ajay Kumar
Ajay Kumar 2019년 1월 26일
답변: Stephan 2019년 1월 26일
How can I generate random variables from 20 to 30 with decimal points?

답변 (1개)

Stephan
Stephan 2019년 1월 26일
10*rand(25,1)+20

카테고리

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