Incorrect dimensions for raising a matrix to a power
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!