How to assign value to variable

 Respuesta aceptada

Ameer Hamza
Ameer Hamza el 9 de Oct. de 2020
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

Más respuestas (1)

madhan ravi
madhan ravi el 9 de Oct. de 2020
syms Y
equation = Y + 5 == 10

Categorías

Más información sobre Mathematics en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 9 de Oct. de 2020

Comentada:

el 9 de Oct. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by