필터 지우기
필터 지우기

Error in coding..help needed

조회 수: 4 (최근 30일)
Sherif
Sherif 2011년 3월 24일
Coding
cosintegral(k,i,jj)=s((k-1)*100+jj).*sinerom(i,jj);
Error
The variable 'cosintegral' appears to change size on every loop iteration (within a script). consider preallocating for speed.

채택된 답변

Matt Fig
Matt Fig 2011년 3월 24일
That isn't an error, but a warning, right?
You must have looked at the other question you asked about this problem. Do you consider that question closed?
cosintegral = zeros(size(a,2),2,100);
Put this before the loop.
  댓글 수: 1
Sherif
Sherif 2011년 3월 25일
thanks it is really help ful

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Waveform Generation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by