how to create randon vector between the numbers -0.1 to 0.1 with the length of 100? (1*100)

 채택된 답변

Stephan
Stephan 2018년 10월 25일
편집: Stephan 2018년 10월 25일

0 개 추천

Hi,
use
x = (2*rand(1,100)-1)/10;
Best regards
Stephan

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기

제품

릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by