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

 Respuesta aceptada

Stephan
Stephan el 25 de Oct. de 2018
Editada: Stephan el 25 de Oct. de 2018

0 votos

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

Más respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Productos

Versión

R2018b

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by