Incorrect dimensions for raising a matrix to a power
조회 수: 3 (최근 30일)
이전 댓글 표시
How can I solve this problem
x=0:0.01:4
y=1/(sqrt((1-x.^2)^2+(4*0.01^2*x.^2)))
Error using ^ (line 51)
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 '.^'.
댓글 수: 0
답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!