Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Error when trying to enter in a simple matrix

2 visualizaciones (últimos 30 días)
Brayden Reiland
Brayden Reiland el 8 de Nov. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Hello,
I am simply trying to enter in a 3x3 matrix into matlab and it is giving me an error code, I have done this many time before and have no idea why its giving me an error this time around.
Thanks

Respuestas (2)

Fangjun Jiang
Fangjun Jiang el 8 de Nov. de 2019
most likely need to be written as
(cos(psi))^2

Jeremy
Jeremy el 8 de Nov. de 2019
The little red underlines are not just there for decoration - sin^2(x) is not valid syntax in matlab. I think you want
sin(psi)^2

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by