Matlab zeros function problem

19 visualizaciones (últimos 30 días)
Daniel Raynor
Daniel Raynor el 17 de Jul. de 2020
Respondida: madhan ravi el 17 de Jul. de 2020
The zeros function was working fine yesterday, but this is happening now. Ones works fine, but why doesn't zeros?
  2 comentarios
KSSV
KSSV el 17 de Jul. de 2020
What does
which zeros
outputs?
Stephen23
Stephen23 el 17 de Jul. de 2020
"Ones works fine, but why doesn't zeros?"
Because you have a variable in the workspace called zeros. Clear it s and try again.

Iniciar sesión para comentar.

Respuesta aceptada

madhan ravi
madhan ravi el 17 de Jul. de 2020
clear zeros
zeros(1, 10)

Más respuestas (0)

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by