From: FAISAL PEER MOAHMED on
Hi

I wish to add zeros the end of the signal. I have used horizontal concatenation. Please see the code below.

q= ones(1,1966081 );
w=[q zeros(1023,1)];

It ends up with an error.

Error using ==> horzcat
CAT arguments dimensions are not consistent.

Please help

Regards

Faisal