Matlab zeros function problem

2 次查看(过去 30 天)
The zeros function was working fine yesterday, but this is happening now. Ones works fine, but why doesn't zeros?
  2 个评论
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 CenterFile Exchange 中查找有关 Entering Commands 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by