Respuesta aceptada

the cyclist
the cyclist el 31 de Oct. de 2018

0 votos

Here is one way:

U = @(t) -(t<pi/2).*t + (t>=pi/2) * 0; % Don't really need that second term, since it is always zero
figure
tt = 0:0.01:pi;
plot(tt,U(tt),'.')

Más respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 31 de Oct. de 2018

Comentada:

el 31 de Oct. de 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by