Unexpected Matlab expression?

1 回表示 (過去 30 日間)
Kristen Humphrey
Kristen Humphrey 2016 年 2 月 2 日
コメント済み: Star Strider 2016 年 2 月 2 日
I''m trying to run this through Matlab and it says there's an unexpected Matlab expression, but I don't understand what the problem is. Can someone help me out?

回答 (1 件)

Star Strider
Star Strider 2016 年 2 月 2 日
I suspect it’s because there is an equal sign in the middle of the expression. However, we have no idea what you’re doing or if you’re using the Symbolic Math Toolbox (that requires a double equal sign ‘==’) in that instance.
It would be best if you posted the entire expression, and describe what you intend to do with your MATLAB code.
  3 件のコメント
Steven Lord
Steven Lord 2016 年 2 月 2 日
I suspect what's missing there is a semicolon, to separate the two statements.
Star Strider
Star Strider 2016 年 2 月 2 日
That may be correct. I didn’t see the little red vertical arrow until just now.

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by