Hiiiiii Everyone , It is My First Post ....And I will be Very pleased if You helped me find a solution to my problem . well... It is a Matlab code & I have different type of signals (impulse ,Ramp, sinusoidal,Dc ,exponintial ) & the type of signal is determined by the user ( the user enter a number from 1 to 5) to determine the signal & the user can have multiple selection ..& the user tells me how many time he want to select signals But The Problem i don't Know how to concatenate the signal .. I tried to make it like this A=; for i=1:c+1 A=[A y(choice)] end but an error keeps bothering me ??? In an assignment A(I) = B, the number of elements in B and I must be the same. please any one help me..