matlab give me error when i use fzero to calculate zero of function

1 回表示 (過去 30 日間)
raffaele orlando
raffaele orlando 2020 年 3 月 14 日
回答済み: madhan ravi 2020 年 3 月 14 日
fzero of function
fun = @sin; % function
x0 = 3; % initial point
x = fzero(fun,x0)
  5 件のコメント
Ameer Hamza
Ameer Hamza 2020 年 3 月 14 日
As John expected, you have placed a script name fzero in MATLAB's path ?‍♂️. Change the name of script C:\Users\raffo\Documents\MATLAB\fzero.m to something else.
raffaele orlando
raffaele orlando 2020 年 3 月 14 日
sorry but how can i change the name of script ?

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

採用された回答

madhan ravi
madhan ravi 2020 年 3 月 14 日
Just go to the file location and rename the file as myFzero.m for example.

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by