Borrar filtros
Borrar filtros

what is the code to plot this ?

2 visualizaciones (últimos 30 días)
Giuseppe Alfieri
Giuseppe Alfieri el 22 de Jul. de 2018
Comentada: madhan ravi el 11 de Oct. de 2018
e^(-0.3237t)*cos(3.4836t)

Respuesta aceptada

madhan ravi
madhan ravi el 22 de Jul. de 2018
Editada: madhan ravi el 22 de Jul. de 2018
syms t
ezplot(exp(-0.3237*t)*cos(3.4836*t))
  1 comentario
madhan ravi
madhan ravi el 11 de Oct. de 2018
if it worked accept the answer

Iniciar sesión para comentar.

Más respuestas (1)

Image Analyst
Image Analyst el 22 de Jul. de 2018
Try this:
t = linspace(-5, 7, 200);
y = exp(-0.3237 .* t) .* cos(3.4836 * t);
plot(t, y, 'b.-', 'LineWidth', 2, 'MarkerSize', 15);
grid on;
title('y vs. t', 'FontSize', fontSize);
xlabel('t', 'FontSize', fontSize);
ylabel('y', 'FontSize', fontSize);
ax = gca;
ax.YAxisLocation = 'origin';
ax.XAxisLocation = 'origin';

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by