Matlab zeros function problem

조회 수: 2 (최근 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 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