the week 4 lecture example is pretty pointless. I have looked at it and it did not really help.
Can anyone show code for this please?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
4 comentarios
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)')
Respuestas (0)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!