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!