electroboy
Member level 5
in matlab ,i wrote a code like this
v=-20:100;
im=(v==0);
b=[2 0 0];
g=conv(im,b)
i get the following error,
??? Error using ==> conv2
First and second arguments must be single or double.
Error in ==> conv at 40
c = conv2(a
),b
),shape);
Error in ==> del at 4
g=conv(im,b)
please tell me why...? am i wrong??
thanks in advance... please tell me as early as possible...
v=-20:100;
im=(v==0);
b=[2 0 0];
g=conv(im,b)
i get the following error,
??? Error using ==> conv2
First and second arguments must be single or double.
Error in ==> conv at 40
c = conv2(a
Error in ==> del at 4
g=conv(im,b)
please tell me why...? am i wrong??
thanks in advance... please tell me as early as possible...