Can anyone show code for this please?

1 vue (au cours des 30 derniers jours)
Ned Williams
Ned Williams le 24 Août 2021
Commenté : Ned Williams le 24 Août 2021
  4 commentaires
Wan Ji
Wan Ji le 24 Août 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 le 24 Août 2021
@Wan Ji yes it is

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by