error variable a - basic

2 Ansichten (letzte 30 Tage)
Barbara Fiorani
Barbara Fiorani am 30 Sep. 2020
Kommentiert: Barbara Fiorani am 30 Sep. 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

Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 30 Sep. 2020
Bearbeitet: Ameer Hamza am 30 Sep. 2020
Don't type
a =
Just type
a
in command window.
For example,
>> a = 1;
>> a
a =
1

Weitere Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by