フィルターのクリア

Using a while loop on a Taylor Series?

1 回表示 (過去 30 日間)
Nick Haufler
Nick Haufler 2015 年 10 月 8 日
コメント済み: Nick Haufler 2015 年 10 月 8 日
My script wont output anything for the difference. The file attached shows the taylor series equation which I put into the variable 'Estimate'.

回答 (1 件)

TastyPastry
TastyPastry 2015 年 10 月 8 日
You need to update your variable "count". Your function repeatedly calculates the value when count = 1, so naturally on the second time through the two estimates are equal.
  1 件のコメント
Nick Haufler
Nick Haufler 2015 年 10 月 8 日
Do I update the variable 'count' inside the while loop with count+1

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by