Subscripted assignment dimension mismatch

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 个评论

Does X exist already when you reach that line? Is it at least 2 x 60000 in size?
Thats it. The X was stated earlier in the script.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息

标签

提问:

2013-6-5

Community Treasure Hunt

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

Start Hunting!

Translated by