error variable a - basic

2 visualizaciones (últimos 30 días)
Barbara Fiorani
Barbara Fiorani el 30 de Sept. de 2020
Comentada: Barbara Fiorani el 30 de Sept. de 2020
Why it gives me error when I type >> a= instead of giving me the following result >> a =
1
Before doing this, I had already type the following >>a=1

Respuesta aceptada

Ameer Hamza
Ameer Hamza el 30 de Sept. de 2020
Editada: Ameer Hamza el 30 de Sept. de 2020
Don't type
a =
Just type
a
in command window.
For example,
>> a = 1;
>> a
a =
1

Más respuestas (1)

madhan ravi
madhan ravi el 30 de Sept. de 2020
You don’t have to type >>
  1 comentario
Barbara Fiorani
Barbara Fiorani el 30 de Sept. de 2020
Hi,
I didn't type it on my command window, just typed it here in the question.

Iniciar sesión para comentar.

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by