Can you change / change the equality (comparison) of an existing variable in MatLab ?.
The variable eq
of my program is worth the first highlight below. This variable is compared to 0
. I want to know if you can change this comparison: instead of being 0
, I'd like to compare with 1
(then, of course, pass -1
from first to second comparison member).
As it is:
eq = A1/6 + (35*A2)/36 + (325*A3)/216 + (2375*A4)/1296 + (15625*A5)/7776 - 1 == 0
How did you want it to be:
eq = A1/6 + (35*A2)/36 + (325*A3)/216 + (2375*A4)/1296 + (15625*A5)/7776 == 1
Does anyone know how to do this?