Problem with computeInitialWeights function

1 vue (au cours des 30 derniers jours)
Alberto Tortella
Alberto Tortella le 7 Mai 2025
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.

Réponses (1)

Steven Lord
Steven Lord le 7 Mai 2025
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.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by