how to enter exponential multiplication with a time dependent array
이전 댓글 표시
Given fa(t)=10*e^-5t and a time array of t=0:0.06:3 how do I enter this?
I have tried fa(t)=10*exp(-5*t) and I get an error message saying that the "Array indices must be positive intergers or logical values"
채택된 답변
추가 답변 (1개)
Do you mean something like that:
t=0:0.06:3;
fa=10*exp(-5*t)
plot(t,fa)
카테고리
도움말 센터 및 File Exchange에서 Number Theory에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!