Can anyone show code for this please?

1 visualización (últimos 30 días)
Ned Williams
Ned Williams el 24 de Ag. de 2021
Comentada: Ned Williams el 24 de Ag. de 2021
  4 comentarios
Wan Ji
Wan Ji el 24 de Ag. de 2021
Is this your homework?
g = @(t) 100*sin(t+t.^2);
f = @(t) (t>=0).*(-3*t.^2+5) + (t<0).*(3*t.^2+5);
t = -9:0.1:9;
y = [g(t); f(t)];
plot(t,y); legend('g(t)','f(t)')
Ned Williams
Ned Williams el 24 de Ag. de 2021
@Wan Ji yes it is

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by