trouble using iterations and plotting
이전 댓글 표시
Got it thanks!
댓글 수: 3
Michael Haderlein
2014년 9월 15일
In your code, there is no part where the function is evaluated. You just count t from 6.8 to 17.8. You need t as array:
t=linspace(6.8,17.9);
Then evaluate your function (just copy the function definition from your question). Plot as you did before. There's no need for a loop in this case.
George Zimbodia
2014년 9월 15일
편집: George Zimbodia
2014년 9월 15일
Star Strider
2014년 9월 15일
Please don’t delete or erase the text of your original Question. Doing so eliminates the context others may need if they have the same problem and search MATLAB Answers for a solution.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!