Borrar filtros
Borrar filtros

Undefined function or variable 'ran' in matlab R2018a

3 visualizaciones (últimos 30 días)
Rahim Rahim
Rahim Rahim el 20 de Nov. de 2020
Respondida: Ameer Hamza el 20 de Nov. de 2020
Hello,
I am using matlab R2018a in Windows10.
I want to use the random function ran, but when I run it, that following message is shown to me : Undefined function or variable 'ran'.
How resolve that problem ?

Respuestas (1)

Ameer Hamza
Ameer Hamza el 20 de Nov. de 2020
The function name is rand(): https://www.mathworks.com/help/matlab/ref/rand.html, not ran().

Categorías

Más información sobre Logical en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by