I'm trying to define this paramater in matlab for my system of differential equations code but i don't know how to work this out:
What i tried:
syms f f1
j = input('Enter value of j: ');
T1 = 4.5;
T2 = 0.83;
if ((t >= T1+j && t <= T2+j))
f = 1;
else
f = 0;
end
but i don't know how to define the variable t.

You can define an anonymous function: