Matlab - Incorrect dimensions for raising a matrix to a power [closed]
问题 Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 1 year ago . Improve this question Suppose we have a=60 and B=60 . I am trying to calculate this area: when I try this: W = ((u^2)* cot(B) + (v^2 * cot(a))/8; I get this error: Incorrect dimensions for raising a matrix to a power. Check that the matrix is square and the power is a scalar. To