How to assign value to variable
38 ビュー (過去 30 日間)
古いコメントを表示
My equation is Y+5 = 10, how can i assign value to Y because i keep getting this error.
0 件のコメント
採用された回答
Ameer Hamza
2020 年 10 月 9 日
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 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!