Search code examples
matlabparameterskronecker-product

Kronecker product parameters


Between what variables is this kron function doing the Kronecker product? (MATLAB)

y = kron(x,[1:size(x)]);

I understand what the first variable is, but what does [1:size(x)] mean? Don't you need to put an array/list before it so it means something?


Solution

  • [1:size(x)] will produce a vector the size of vector x, and his entries will be: [1,2,3,...,n]