Hello everyone! Im new to Matlab and i have a little problem.
I have tried to define this function like this:
time = t>=0 && t<1; F(time) = t+1;
time = t>=1 && t<2; F(time) = 0;
time = t>=2 && t<3; F(time) = 2-t;
time = t>=3; F(time) = 0;
But, it gives me error(picture below):
Can you help me, please