MATLAB: Matrix row/column augmentation

matrix manipulation

a=100; How can I create a matrix whose columns and rows contain of 20 times 100?

Best Answer

You can use F=a*(ones(20,20)).