Matlab zeros function problem

2 visualizzazioni (ultimi 30 giorni)
Daniel Raynor
Daniel Raynor il 17 Lug 2020
Risposto: madhan ravi il 17 Lug 2020
The zeros function was working fine yesterday, but this is happening now. Ones works fine, but why doesn't zeros?
  2 Commenti
KSSV
KSSV il 17 Lug 2020
What does
which zeros
outputs?
Stephen23
Stephen23 il 17 Lug 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.

Accedi per commentare.

Risposta accettata

madhan ravi
madhan ravi il 17 Lug 2020
clear zeros
zeros(1, 10)

Più risposte (0)

Categorie

Scopri di più su Entering Commands in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by