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

 채택된 답변

Greg Heath
Greg Heath 2019년 1월 5일

0 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품

질문:

2019년 1월 5일

답변:

2019년 1월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by