I have a code for Newton Raph method to find x for nonlinear set of equations. The code works, yet as I change the name of the function, saving it appropriately, I receive this:Undefined function 'Hamedani_solenoid' for input arguments of type 'syms'

I have a code for Newton Raph method to find x for nonlinear set of equations. The code works as I copy it, yet as I change the name of the function, and I save it appropriately, I receive this error: Undefined function 'Hamedani_solenoid' for input arguments of type 'syms' I have tried it several times but always the same error. I would appreciate any help in this respect. Thanks

 採用された回答

Qasim Manzoor
Qasim Manzoor 2013 年 10 月 19 日
if you are using a udf(user defined function) then the name of the function should be the same as the name of the m-file. try saving the file with the same name as the name of the udf. hope this helps

3 件のコメント

Borhan
Borhan 2013 年 10 月 19 日
Thank you Qasim, I have tried this. I changed the path of Matlab and it works now. I do not have a good source/tutor to learn Matlab properly. do you have any suggestion? Thanks again
well i have 3 pdf lectures on matlab to get you started. if you want i could email you those. they cover the basics.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSymbolic Math Toolbox についてさらに検索

質問済み:

2013 年 10 月 19 日

コメント済み:

2013 年 10 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by