Info
此问题已关闭。 请重新打开它进行编辑或回答。
Error when trying to enter in a simple matrix
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(2 个)
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
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!