Newton Raphson with a while loop

I'm trying to find all zeros of the function F(x)=exp(-0.1x)cos(8x)x^2 interval [-1, 1] Please help me on MATLAB code to find all zeros with using a while loop.

1 件のコメント

Geoff Hayes
Geoff Hayes 2016 年 3 月 21 日
Tiffany - this sounds like homework so please show/describe what you have tried so far.

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

回答 (1 件)

Sara Hafeez
Sara Hafeez 2016 年 3 月 25 日

0 投票

Just use the find command find=0 and it will tell the indices with zeros
Regards Sara Hafeez MATLAB Developer sarahafeez@ymail.com

質問済み:

2016 年 3 月 21 日

回答済み:

2016 年 3 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by