derivitive matlab temp function

3 views (last 30 days)
matt noman
matt noman on 25 Feb 2020
Edited: Aquatris on 25 Feb 2020
in matlab how would I ask the user to enter a starting guess V0 to use as the first value for the Newton-Raphson method. If this guess causes the derivative of the temperature function to be zero , the method will immediately fail due to a division by zero. Che
  3 Comments
matt noman
matt noman on 25 Feb 2020
I don't know if I should write a user defined function or write the code directly into my script file
Aquatris
Aquatris on 25 Feb 2020
Edited: Aquatris on 25 Feb 2020
Both would work fine. script would be easier IMO. You can also find some example functions in the fileexchange

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!