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

 Akzeptierte Antwort

Stephan
Stephan am 25 Okt. 2018
Bearbeitet: Stephan am 25 Okt. 2018

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by