Subscripted assignment dimension mismatch

조회 수: 2 (최근 30일)
Andre
Andre 2013년 6월 5일
I know what the error mean. But I cant see why iam getting it.
for h=1:2
%%DFT
X(h,:)=fft(u(h,:)); get the error in this line
.
.
.
end
>> size(u(h,:))
ans =
1 60000
>> size(u)
ans =
2 60000
  댓글 수: 2
Mark
Mark 2013년 6월 5일
Does X exist already when you reach that line? Is it at least 2 x 60000 in size?
Andre
Andre 2013년 6월 5일
Thats it. The X was stated earlier in the script.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by