repmat (A,m,n) when A is a scalar, produces an m -by- n matrix filled with A 's value. This can be much faster than a*ones(m,n) when m or n is large. Examples.
確定! 回上一頁