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!