how to draw periodic functions in MATLAB
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
How can I draw g(t)=|t| for t [-1,1], with g(t)=g(t+2) (with period T=2)
0 comentarios
Respuestas (1)
Sangeetha Jayaprakash
el 23 de Mayo de 2017
You can use the plot function to draw in MATLAB as described in this link:
You can plot the function g(t) as follows:
t = -1:0.01:1; %this gives 201 points
g = abs(t);
plot(t,g)
0 comentarios
Ver también
Categorías
Más información sobre Annotations en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!