Error with array indices

조회 수: 3 (최근 30일)
Charles LaMotte
Charles LaMotte 2020년 9월 8일
댓글: Walter Roberson 2020년 9월 8일
This error keeps coming up. Any thoughts?
Array indices must be positive integers or logical values.
Error in Prob3_4_2 (line 17)
T(loop)= Tmean + (Tpeak - Tmean)*cos(w((D(loop))-205));

채택된 답변

madhan ravi
madhan ravi 2020년 9월 8일
w*
  댓글 수: 4
madhan ravi
madhan ravi 2020년 9월 8일
That is the reason of this community’s existence ;)
Walter Roberson
Walter Roberson 2020년 9월 8일
By the way, MATLAB has absolutely no implied multiplication, anywhere that I have been able to find. Not even in the internal language used by the Symbolic Toolbox.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by