Subscripted assignment dimension mismatch

1 Ansicht (letzte 30 Tage)
Andre
Andre am 5 Jun. 2013
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 Kommentare
Mark
Mark am 5 Jun. 2013
Does X exist already when you reach that line? Is it at least 2 x 60000 in size?
Andre
Andre am 5 Jun. 2013
Thats it. The X was stated earlier in the script.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Fourier Analysis and Filtering finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by