I do not understand why the if statement here produces different results. In one statement, I use the variable names, and in the other I substitute the variable values for the names. Each if statement should yield 'true' because no values are changed.
>> time_endtime_end = 30.0000>> time_met_endtime_met_end = 30>> if time_end>time_met_enddisp('true')endtrue>> if 30.0000 > 30disp('true')end>> >>
Best Answer