📅  最后修改于: 2022-03-11 15:00:12.659000             🧑  作者: Mango
m=zeros(1,length(t)); %array of zeros
for i=1:length(t) %filling peicewise function
if(t(i)>=0 && t(i)<0.1)
m(i)=10*t(i);
else
m(i)=0;
end
end % for