Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Error when trying to enter in a simple matrix

조회 수: 1 (최근 30일)
Brayden Reiland
Brayden Reiland 2019년 11월 8일
마감: MATLAB Answer Bot 2021년 8월 20일
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

답변 (2개)

Fangjun Jiang
Fangjun Jiang 2019년 11월 8일
most likely need to be written as
(cos(psi))^2

Jeremy
Jeremy 2019년 11월 8일
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

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by