what is the difference between = and ==?
34 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
what is the difference between = and == in coding?
0 Kommentare
Antworten (1)
James Tursa
am 21 Feb. 2018
Bearbeitet: James Tursa
am 21 Feb. 2018
= is used for an assignment
== is the element-wise equality comparison operator
A = B; % Assigns the value of B to the variable A
A == B % The result of comparing the elements of A to B for equality
0 Kommentare
Siehe auch
Kategorien
Mehr zu MATLAB Report Generator 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!