Page 1 of 1
mpower Matrix must be square.
Posted: Fri Dec 16, 2016 9:28 pm
by matlab1
this
Re: mpower Matrix must be square.
Posted: Sun Dec 27, 2020 8:26 pm
by matlab1
Incorrect dimensions for raising a matrix to a power. Check that the matrix is square and the power is a scalar.
To perform elementwise matrix powers, use '.^'
To perform elementwise matrix multiplication, use '.*'
To perform elementwise matrix division, use './'