Problem with computeInitialWeights function

1 view (last 30 days)
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.

Answers (1)

Steven Lord
Steven Lord on 7 May 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.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!