Matlab zeros function problem

2 Ansichten (letzte 30 Tage)
Daniel Raynor
Daniel Raynor am 17 Jul. 2020
Beantwortet: madhan ravi am 17 Jul. 2020
The zeros function was working fine yesterday, but this is happening now. Ones works fine, but why doesn't zeros?
  2 Kommentare
KSSV
KSSV am 17 Jul. 2020
What does
which zeros
outputs?
Stephen23
Stephen23 am 17 Jul. 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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Entering Commands finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by