What is a real variable?

# What is a real variable?

something that changes

I would assume a variable which contains real numbers?

so what you are saying is that pointers, strings, classes, and much more aren’t real variables

I think @TrojanTyrant is a BEST Robotics Competition roboteer. ( I cheated, I clicked on his info).

BEST uses Matlab / Simulink for their programming. In Matlab, all variables are considered to be complex, with both an real and imaginary part. (A complex number is a number that can be expressed in the form a + bi, where a and b are real numbers, and i is a solution of the equation x² = −1. Because no real number satisfies this equation, i is called an imaginary number according to Wikipedia)

You can use assumptions to help. by using real, calculations are done on the real part, the imaginary part is dropped.

The available assumptions are `'integer'`

, `'rational'`

, `'real'`

, or `'positive'`

.

@TrojanTyrant is that what you were looking for?