MATLAB: How to define h(t)=1/2, 0 homework how to define h(t)=1/2, 0<t<2*pi, interval=0.5 Thanks Best Answer t=0:0.5:2*pih=0.5*ones(1,numel(t)) Related SolutionsMATLAB: How can I do this in mat lab syms u(t) x(t) h(t)u(t)=piecewise(t>=0,1,0);x(t)=cos(pi*t)*(u(t)-u(t-1));h(t)=1.5*(u(t)-u(t-1.5));%%plott=0:0.001:5;plot(t,x(t),t,h(t));legend('x(t)','h(t)') MATLAB: Solve h(t)=-0.12t^4+12t^3-380t^2+4100t+220 ,using matlab You meanhttps://de.mathworks.com/help/matlab/ref/roots.html?Best wishesTorsten. Related QuestionWhat’s wrong with this scriptVectorization of Operation inside Matrix0.1+0.2-0.3=Question about surf functionI want to plot this function f = cos(0.5*t)*5*exp(t)/(t^2+1)
Best Answer