Variables and Arithmetic Flashcards
1
Q
How do you assign a variable?
A
Use equals sign (=).
2
Q
What are basic arithmetic operators?
A
+, -, *, /, ^.
3
Q
What are element-wise operators?
A
.*, ./, .^.
4
Q
How do you check variable types?
A
who
5
Q
How do you take a square root?
A
sqrt()