what does the "nest" function do?

9 ビュー (過去 30 日間)
Jay Gourley
Jay Gourley 2017 年 4 月 29 日
コメント済み: Jay Gourley 2017 年 4 月 29 日
The "Numerical Analysis" textbook by Timothy Sauer has code that I am supposed to implement. The code is for a function called "sin1" that approximates the sine curve with a degree 3 polynomial. It think y is the polynomial. The function ends with a command:
y=s*nest(3,c,x1,b)
c,xy and b are all variables calculated earlier in the function. If "nest" is something Sauer defined in his textbook, I haven't found it yet. And I cannot find anything searching the Matlab documentation online that describes a "nest" function.
Can someone tell me what "nest" is? And if it is a Matlab function, please tell me why searching documentation for "nest" doesn't reveal it. Thanks.

採用された回答

Walter Roberson
Walter Roberson 2017 年 4 月 29 日
It is from the introduction in the book. You can find the source at http://media.pearsoncmg.com/aw/aw_sauer_num_analysis_2/nest.m
  1 件のコメント
Jay Gourley
Jay Gourley 2017 年 4 月 29 日
Thanks for a quick and clear answer.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWhos についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by