I'm trying to figure out what these do in certain implementations. I can't seem to find the answer in the documentation. http://www.mathworks.com/matlabcentral/fileexchange/30580-binary-amplitude-shift-keying Code (Text): for ii = 1:1:length(bit_stream) ASK_signal = [ASK_signal (bit_stream(ii)==0)*A1*sin(2*pi*f*t)+... (bit_stream(ii)==1)*A2*sin(2*pi*f*t)]; What are the square brackets for and what does ASK_signal within them do? Also, why is bit_stream(i)==0 in parentheses? Code (Text): time = [time t]; What does the square brackets do? Do they create an array or something? Code (Text): t = t + 1; end Many thanks for the help.