I have a problem in this code:
Error using plot
Vectors must be the same length.
plot(t,ge);
t=-1:1/20:1; % time period
ge=0.4*cos(4*x).*exp(-0.5*x); % exact fucntion

 Respuesta aceptada

Greg Heath
Greg Heath el 5 de En. de 2019

0 votos

Replace x with t
Thank you for formally accepting my answer
Greg

Más respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 5 de En. de 2019

Respondida:

el 5 de En. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by