Incorrect dimensions for raising a matrix to a power
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!