Hi I need to construct a (n,m) matrix like :

` x(0) x(-1) x(-2).......... x(1) x(0) x(-1).......... x(2) x(1) x(0)........... ............................. ............................. x(n-1) x(n-2) x(n-m)`

x(n)is an input signal- x(0),x(1),x(2)….x(n-1) which will be generated by rand command.

I need this matrix for an algorithm.

Can anyone show me how to assign these input values in this matrix form?

And what about x(-1), x(-2) etc in the very first stage? Should they be kept zero?

Thank you

## Best Answer