Create a matrix that contains sine wave
Define a 5xN matrix such that each row of the matrix contains a sine wave with a frequency equal to the row number. (0 < t < 1).
I am doing the matrix of zeros thingie but it keeps telling me an error
t=0:0.001:1; x=zeros(5,length(t)); for i=1:length(t) x(i)=sin(2.*pi.*i.*t) end
can any body help ?