Matlab zeros function problem

10 vues (au cours des 30 derniers jours)
Daniel Raynor
Daniel Raynor le 17 Juil 2020
The zeros function was working fine yesterday, but this is happening now. Ones works fine, but why doesn't zeros?
  2 commentaires
KSSV
KSSV le 17 Juil 2020
What does
which zeros
outputs?
Stephen23
Stephen23 le 17 Juil 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.

Connectez-vous pour commenter.

Réponse acceptée

madhan ravi
madhan ravi le 17 Juil 2020
clear zeros
zeros(1, 10)

Plus de réponses (0)

Catégories

En savoir plus sur Entering Commands dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by