How to plot functions
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How to plot (exp(-0.2*x)*sin(x+2)=0.1) and (y=1 + exp(-0.2*x)*sin(x+2)
cant get the graph to show up... need help
0 comentarios
Respuestas (2)
Paulo Silva
el 30 de Mzo. de 2011
One way to do it
ezplot('y=1 + exp(-0.2*x)*sin(x+2)')
2 comentarios
Matt Fig
el 30 de Mzo. de 2011
Another way
f = @(x) 1 + exp(-0.2*x).*sin(x+2); % Define the function.
x = -20:.01:20; % Define an x range for the plot;
plot(x,f(x))
0 comentarios
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!