sayurabh
Member level 4
matlab dtft
tell me the error in following dtft matlab code
>> x=rand(1,11);
>> n=1:10;
>> k=0:500;
>>w=(pi/500).*k;
>> X=x*(exp(-j*pi/500)).^(n'*k);
??? Error using ==> *
Inner matrix dimensions must agree.
tell me the error in following dtft matlab code
>> x=rand(1,11);
>> n=1:10;
>> k=0:500;
>>w=(pi/500).*k;
>> X=x*(exp(-j*pi/500)).^(n'*k);
??? Error using ==> *
Inner matrix dimensions must agree.