Newton Raphson with a while loop

1 Ansicht (letzte 30 Tage)
Tiffany Kim
Tiffany Kim am 21 Mär. 2016
Beantwortet: Sara Hafeez am 25 Mär. 2016
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 Kommentar
Geoff Hayes
Geoff Hayes am 21 Mär. 2016
Tiffany - this sounds like homework so please show/describe what you have tried so far.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

Community Treasure Hunt

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

Start Hunting!

Translated by