define the variables x=3.5 y=-2 a=-1.09 in matlab

To define the variables x, y, and a with the given values in MATLAB, you can simply write:

main.m
x = 3.5;
y = -2;
a = -1.09;
28 chars
4 lines

After running this code, the variables x, y, and a will be assigned with the given values.

related categories

gistlibby LogSnag