Matlab zeros function problem

3 ビュー (過去 30 日間)
Daniel Raynor
Daniel Raynor 2020 年 7 月 17 日
回答済み: madhan ravi 2020 年 7 月 17 日
The zeros function was working fine yesterday, but this is happening now. Ones works fine, but why doesn't zeros?
  2 件のコメント
KSSV
KSSV 2020 年 7 月 17 日
What does
which zeros
outputs?
Stephen23
Stephen23 2020 年 7 月 17 日
"Ones works fine, but why doesn't zeros?"
Because you have a variable in the workspace called zeros. Clear it s and try again.

サインインしてコメントする。

採用された回答

madhan ravi
madhan ravi 2020 年 7 月 17 日
clear zeros
zeros(1, 10)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEntering Commands についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by