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

 Risposta accettata

Stephan
Stephan il 25 Ott 2018
Modificato: Stephan il 25 Ott 2018
Hi,
use
x = (2*rand(1,100)-1)/10;
Best regards
Stephan

Più risposte (0)

Categorie

Scopri di più su MATLAB in Centro assistenza e File Exchange

Prodotti

Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by