Newton Raphson with a while loop

조회 수: 1 (최근 30일)
Tiffany Kim
Tiffany Kim 2016년 3월 21일
답변: Sara Hafeez 2016년 3월 25일
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일
Just use the find command find=0 and it will tell the indices with zeros
Regards Sara Hafeez MATLAB Developer sarahafeez@ymail.com

카테고리

Help CenterFile Exchange에서 Newton-Raphson Method에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by