Size vector should be a row vector with integer elements 出错求助
我不明白怎么错了,该怎么改呢?fz=10e3;
>> tz=1/fz;
>> fs=8e6;
>> ts=1/fs;
>> doppler=2.5e3;
>> N=tz/ts;
>> pulse=;
Warning: Size vector should be a row vector with integer elements.
>> pc=repmat(pulse,1,16);
>> n=1:16*N;
>> doppler2=cos(n*2*pi*doppler/fs);
>> pc=pc.*doppler2;
>> noise=0.1*rand(1,N*16);
Warning: Size vector should be a row vector with integer elements.
>> pc=pc+noise;
>> figure,
>> plot(0:ts:(16*N-1)*ts,pc),xlabel('t(单位:s)'),title('回波信号');
>> pc=reshape(pc,N,16);
??? Error using ==> reshape
Size arguments must be real integers.
谢谢!!!:'(
[ 本帖最后由 eight 于 2008-3-4 22:10 编辑 ] x1=zeros(1,100);x2=ones(1,2);x3=zeros(1,N-102);
pulse=;
页:
[1]