Can anyone show code for this please?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
4 commentaires
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)')
Réponses (0)
Voir également
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!