Problem with computeInitialWeights function

1 回表示 (過去 30 日間)
Alberto Tortella
Alberto Tortella 2025 年 5 月 7 日
回答済み: Steven Lord 2025 年 5 月 7 日
Good morning, I'm trying to run the code from this article
but I have the following error
Unrecognized function or variable 'computeInitialWeights'.
Could you help me? Am I missing a specific toolbox?
Thank you.

回答 (1 件)

Steven Lord
Steven Lord 2025 年 5 月 7 日
Open the example in MATLAB or MATLAB Online using the appropriate button in the upper-right corner of the example. [To open in desktop MATLAB, copy the command and paste it into MATLAB.] Assuming you have Financial Toolbox installed, MATLAB will open the folder containing that example. The helper function computeInitialWeights should be in that folder. If you can't open the example (you don't have the toolbox installed) look in the Local Functions section of that page for the code for that helper function.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by