Code: Select all
inputs:t1(100),t2(200);
if time crosses over t1 then
value1=1 else value1=0;
if time crosses over t2 then
value2=1 else value2=0;
plot1(value1);
plot2(value2);
The following code seems to correctly flag everytime input time is crossed over:
Code: Select all
inputs:t1(100);
if time crosses over t1 then
value1=1 else value1=0;
plot1(value1);
Why is this?
Many thanks.