Matlab中switch语句编写 求助
function [Fx] = F(t0,t1,F0,F1,t) %F Summary of this function goes here
% Detailed explanation goes here
switch (t)
case (t<t1&&t>=t0)
Fx=F0+((F1-F0)/(t1-t0))*(t-t0);
case (t>=t1)
Fx=0;
otherwise
disp('error')
end
本人是初学者,哪位大神帮忙看看我那错了?