採用された回答

Ameer Hamza
Ameer Hamza 2020 年 10 月 9 日

0 投票

You cannot assign value to variable like this. The correct syntax is
y = 10 - 5;
Only variable name can be on left side. I suggest taking this free course to understand the basics of MATLAB: https://www.mathworks.com/learn/tutorials/matlab-onramp.html

1 件のコメント

Mary Johnson
Mary Johnson 2020 年 10 月 9 日
Thank you so much!!

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

その他の回答 (1 件)

madhan ravi
madhan ravi 2020 年 10 月 9 日

0 投票

syms Y
equation = Y + 5 == 10

1 件のコメント

madhan ravi
madhan ravi 2020 年 10 月 9 日
doc syms
I suggest you to do MATLAB Onramp course.

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

カテゴリ

ヘルプ センター および File Exchange で Programming についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by